Function at 0x4a18e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xa0
push ebx
push ebp
push esi
mov esi, dword [esp + 0xb4]
push edi
push 1
mov eax, dword [esi]
xor edi, edi
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x14]
mov ecx, dword [esi]
mov ebx, eax
xor ebp, ebp
push 1
mov edx, dword [ecx + 8]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebp
mov eax, dword [edx + 8]
push eax
call dword [eax + 0x18]
add eax, 0xfffffff5
add esp, 0x10
cmp eax, 0x38
ja case.0x4a192f.20
xor ecx, ecx
mov cl, byte [eax + 0x4a21e8]
jmp dword [ecx*4 + 0x4a21c0]
mov edx, dword [esi]
push 2
mov eax, dword [edx + 8]
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x18]
add esp, 8
cmp eax, 7
je 0x4a19e5
cmp eax, 0x77
je 0x4a19de
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jle 0x4a1988
mov eax, dword [esp + 0xb4]
mov byte [ecx + 0x18], 1
mov edx, eax
pop edi
pop esi
mov dword [edx], ebx
mov dword [edx + 4], ebx
mov dword [edx + 8], ebp
pop ebp
pop ebx
add esp, 0xa0
ret
push eax
call dword [eax + 0x88]
mov eax, dword [esi]
add esp, 4
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 4]
mov dword [eax], 3
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 4]
mov dword [ecx + 8], 0x556570
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
mov dword [edx + 0x34], 0xd
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 4]
mov dword [eax + 0x38], 1
jmp case.default.0x4a1a2c
mov eax, 2
jmp 0x4a1a22
mov eax, 1
jmp 0x4a1a22
mov eax, 3
jmp 0x4a1a22
mov eax, 4
jmp 0x4a1a22
mov eax, 5
jmp 0x4a1a22
mov eax, 6
jmp 0x4a1a22
mov eax, 7
jmp 0x4a1a22
mov eax, 8
jmp 0x4a1a22
mov eax, 9
jmp 0x4a1a22
mov eax, 0xa
dec eax
cmp eax, 9
ja case.default.0x4a1a2c
jmp dword [eax*4 + 0x4a2224]
mov eax, dword [esi + 0x1a8]
push eax
call dword [eax + 0x10]
mov ecx, dword [esi]
mov edi, eax
push 1
mov eax, dword [ecx + 8]
push eax
call dword [eax + 0x14]
mov edx, dword [esi]
push 1
mov eax, dword [edx + 8]
push eax
call dword [eax + 0x14]
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
push 1
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 8]
push eax
call dword [eax + 0x18]
add esp, 0x1c
cmp eax, 0x42
jb 0x4a1b82
mov edx, dword [esi]
push 1
mov eax, dword [edx + 8]
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x18]
add esp, 8
cmp eax, 0x43
ja 0x4a1b82
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 8]
push eax
call dword [eax + 0x14]
mov eax, dword [esi]
add esp, 4
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0x20]
test eax, eax
jne 0x4a1ace
mov eax, dword [esp + 0x28]
mov ebp, dword [esi + 0x1a8]
push edi
push eax
push ebp
call dword [ebp + 0x40]
mov ecx, dword [esi + 0x1a8]
add esp, 8
push eax
push ecx
call dword [ebp + 0x34]
add esp, 0xc
mov edi, eax
mov edx, dword [esi]
push 0
push 0x54f0f8
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov byte [ecx + 0x10], 0
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov byte [ecx + 0x18], 0
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0x14]
lea edx, [esp + 0x8c]
push esi
push edx
call fcn.004a68b0
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov ebp, dword [eax + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0xc]
mov eax, dword [esi]
add esp, 0x18
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], 1
je case.default.0x4a1a2c
cmp byte [eax + 0x18], 1
jne 0x4a1b63
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x18]
mov edx, eax
pop edi
pop esi
pop ebp
mov dword [edx], ebx
mov dword [edx + 4], ebx
pop ebx
mov dword [edx + 8], ecx
add esp, 0xa0
ret
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne case.default.0x4a1a2c
mov eax, dword [esi + 0x1a8]
push ebp
push edi
push eax
call dword [eax + 0x1c]
add esp, 0xc
jmp case.default.0x4a1a2c
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jle 0x4a1bb1
mov eax, dword [esp + 0xb4]
mov byte [ecx + 0x18], 1
mov ecx, eax
pop edi
pop esi
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebp
pop ebp
pop ebx
add esp, 0xa0
ret
push eax
call dword [eax + 0x88]
mov edx, dword [esi]
push 0x54f0e8
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
mov dword [edx], 4
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 4]
mov dword [eax + 4], str.Mismatched_set
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 4]
mov dword [ecx + 0x20], 0x54f0e8
mov edx, dword [esi]
mov eax, dword [edx + 4]
push eax
call dword [eax + 0x54]
add esp, 0xc
jmp case.default.0x4a1a2c
mov eax, dword [esi + 0x1a8]
push eax
call dword [eax + 0x10]
mov edi, eax
mov eax, dword [esi]
push 1
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x14]
mov ecx, dword [esi]
push 1
mov eax, dword [ecx + 8]
push eax
call dword [eax + 0x14]
mov edx, dword [esi]
mov ebx, eax
push 1
mov eax, dword [edx + 8]
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x18]
add esp, 0x1c
cmp eax, 0x42
jb 0x4a1e02
mov ecx, dword [esi]
push 1
mov edx, dword [ecx + 8]
mov eax, dword [edx + 8]
push eax
call dword [eax + 0x18]
add esp, 8
cmp eax, 0x43
ja 0x4a1e02
mov eax, dword [esi]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 8]
push eax
call dword [eax + 0x14]
mov edx, dword [esi]
add esp, 4
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0x20]
test eax, eax
jne 0x4a1c98
mov ebp, dword [esi + 0x1a8]
push edi
push ebx
push ebp
call dword [ebp + 0x40]
mov edx, dword [esi + 0x1a8]
add esp, 8
push eax
push edx
call dword [ebp + 0x34]
add esp, 0xc
mov edi, eax
mov eax, dword [esi]
push 0
push 0x54f128
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov byte [edx + 0x10], 0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov byte [edx + 0x18], 0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0x14]
lea eax, [esp + 0xa4]
push esi
push eax
call fcn.004a7090
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov ebp, dword [eax + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0xc]
mov eax, dword [esi]
add esp, 0x18
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], 1
je case.default.0x4a1a2c
cmp byte [eax + 0x18], 1
jne 0x4a1d31
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x10]
mov edx, eax
pop edi
pop esi
pop ebp
mov dword [edx], ecx
pop ebx
mov dword [edx + 4], ecx
mov ecx, dword [esp + 8]
mov dword [edx + 8], ecx
add esp, 0xa0
ret
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x4a1d47
mov eax, dword [esi + 0x1a8]
push ebp
push edi
push eax
call dword [eax + 0x1c]
add esp, 0xc
mov edx, dword [esi]
push 1
mov ebp, 2
mov eax, dword [edx + 8]
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x18]
add esp, 8
cmp eax, 0x63
jne 0x4a1d67
mov ebp, 1
dec ebp
jne case.default.0x4a1a2c
mov ecx, dword [esi]
push 0x54f140
push 0x63
mov eax, dword [ecx + 4]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
add esp, 0xc
mov eax, dword [edx + 4]
mov eax, dword [eax + 8]
cmp byte [eax], 1
je case.default.0x4a1a2c
cmp byte [eax + 0x18], 1
je 0x4a1d0d
mov eax, dword [eax + 0xc]
push 0
push 0x54f158
push eax
call dword [eax + 0x14]
lea ecx, [esp + 0x5c]
push esi
push ecx
call fcn.004a7090
mov edx, dword [eax]
mov dword [esp + 0x30], edx
mov edx, dword [esi]
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov ebp, dword [eax + 8]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0xc]
mov edx, dword [esi]
add esp, 0x18
mov eax, dword [edx + 4]
mov eax, dword [eax + 8]
cmp byte [eax], 1
je case.default.0x4a1a2c
cmp byte [eax + 0x18], 1
je 0x4a1d0d
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x4a1d47
jmp 0x4a1d38
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jle 0x4a1e1a
mov byte [ecx + 0x18], 1
jmp 0x4a1d0d
push eax
call dword [eax + 0x88]
mov edx, dword [esi]
push 0x54f110
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
mov dword [edx], 4
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 4]
mov dword [eax + 4], str.Mismatched_set
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 4]
mov dword [ecx + 0x20], 0x54f110
mov edx, dword [esi]
mov eax, dword [edx + 4]
push eax
call dword [eax + 0x54]
add esp, 0xc
jmp case.default.0x4a1a2c
mov eax, dword [esi + 0x1a8]
push eax
call dword [eax + 0x10]
mov edi, eax
mov eax, dword [esi]
push 0
push 0x54f168
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0x14]
lea eax, [esp + 0x3c]
push esi
push eax
call fcn.004b23c0
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
jmp 0x4a2062
mov eax, dword [esi + 0x1a8]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
push 0
push 0x54f178
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0x14]
lea edx, [esp + 0x78]
push esi
push edx
call fcn.004a79b0
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
jmp 0x4a2062
mov eax, dword [esi + 0x1a8]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
push 0
push 0x54f188
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0x14]
lea edx, [esp + 0x48]
push esi
push edx
call fcn.004aab30
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
jmp 0x4a2062
mov eax, dword [esi + 0x1a8]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
push 0
push 0x54f198
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0x14]
lea edx, [esp + 0x54]
push esi
push edx
call fcn.004ab550
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
jmp 0x4a2062
mov eax, dword [esi + 0x1a8]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
push 0
push 0x54f1a8
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0x14]
lea edx, [esp + 0x6c]
push esi
push edx
call fcn.004acdb0
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
jmp 0x4a2062
mov eax, dword [esi + 0x1a8]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
push 0
push 0x54f1b8
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0x14]
lea edx, [esp + 0x84]
push esi
push edx
call fcn.004b05d0
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
jmp 0x4a2062
mov eax, dword [esi + 0x1a8]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
push 0
push 0x54f1c8
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0x14]
lea edx, [esp + 0x9c]
push esi
push edx
call fcn.004b5940
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
jmp 0x4a2062
mov eax, dword [esi + 0x1a8]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
push 0
push 0x54f1d8
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0x14]
lea edx, [esp + 0xb4]
push esi
push edx
call fcn.004b1de0
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov ebp, dword [eax + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0xc]
mov eax, dword [esi]
add esp, 0x1c
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], 1
je case.default.0x4a1a2c
cmp byte [eax + 0x18], 1
jne 0x4a1b63
jmp 0x4a1b43
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jg 0x4a1b91
push eax
call dword [eax + 0x88]
mov edx, dword [esi]
add esp, 4
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
mov dword [edx], 3
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 4]
mov dword [eax + 8], 0x556570
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 4]
mov dword [ecx + 0x34], 0xd
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
mov dword [edx + 0x38], 0
mov eax, dword [esi]
push 0xffffffffffffffff
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x14]
mov ebp, eax
mov eax, dword [esi]
add esp, 8
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov ecx, dword [edx + 0x20]
test ecx, ecx
jne 0x4a2147
mov eax, dword [eax + 8]
push 0xffffffffffffffff
push eax
call dword [eax + 0x14]
mov ebp, eax
mov eax, dword [esi + 0x1a8]
push edi
push eax
call dword [eax + 0x38]
mov ebx, dword [esp + 0x20]
mov edi, eax
mov eax, dword [esi + 0x1a8]
push ebp
push ebx
push edi
push eax
call dword [eax + 0x90]
add esp, 0x20
jmp 0x4a214f
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
cmp byte [ecx], 1
jne 0x4a21a1
push eax
call dword [eax + 0x24]
mov edx, dword [esi]
mov eax, dword [edx + 4]
push eax
call dword [eax + 0x30]
mov eax, dword [esi]
mov edi, dword [esi + 0x1a8]
add esp, 8
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [edx + 4]
push eax
push 0xffffffffffffffff
push ecx
call dword [ecx + 0x14]
mov ecx, dword [esi]
add esp, 8
mov edx, dword [ecx + 8]
push eax
mov eax, dword [esi + 0x1a8]
push ebx
push edx
push eax
call dword [edi + 0x2c]
add esp, 0x14
mov edi, eax
mov eax, dword [esp + 0xb4]
mov ecx, eax
mov dword [ecx], ebx
mov dword [ecx + 4], ebp
mov dword [ecx + 8], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret