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

Disassembly:
sub esp, 0x24
mov eax, dword [esp + 0x28]
push ebx
push ebp
mov ebp, dword [esp + 0x34]
push esi
lea esi, [eax + 0xc]
push edi
xor ebx, ebx
mov eax, dword [esi]
mov edi, ecx
cmp eax, ebx
mov dword [esp + 0x10], edi
je 0x42aa42
mov ecx, dword [ebp + 0x38]
cmp dword [eax + 0x14], ecx
jge 0x42aa60
lea esi, [eax + 8]
mov eax, dword [eax + 8]
cmp eax, ebx
jne 0x42aa33
cmp dword [ebp + 0x30], ebx
jne 0x42aa82
mov ecx, dword [edi + 0x50c]
push 1
call fcn.004511f0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 8
jne 0x42aa42
mov ecx, dword [eax + 0x10]
mov ecx, dword [ecx + 4]
cmp ecx, ebx
je 0x42aa42
call fcn.0043aa40
cmp eax, 6
jl 0x42aa42
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 8
lea ecx, [edi + 0x550]
call fcn.00417740
mov ebp, eax
cmp ebp, ebx
jne 0x42aa9f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 8
mov edx, dword [esp + 0x38]
mov dword [ebp + 0x6c], ebx
mov byte [ebp + 0x70], bl
mov dword [ebp + 4], edx
mov eax, dword [esi]
lea ecx, [ebp + 0x50]
mov dword [ebp + 8], eax
push ecx
mov dword [esi], ebp
call fcn.00416520
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x40]
lea edi, [ebp + 0x24]
mov ecx, 0xb
mov edx, dword [esi + 0x30]
mov dword [ebp + 0x10], edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x38]
mov dword [ebp + 0x14], ecx
mov dx, word [eax + 0x3c]
mov word [ebp + 0x18], dx
mov al, byte [eax + 0x40]
lea ecx, [ebp + 0x8c]
mov byte [ebp + 0x60], al
push ecx
mov byte [ebp + 0x63], bl
mov byte [ebp + 0x62], bl
mov byte [ebp + 0x64], 1
mov byte [ebp + 0x65], bl
mov byte [ebp + 0x66], bl
mov byte [ebp + 0x88], bl
call fcn.00416520
mov edx, dword [esp + 0x18]
or eax, 0xffffffff
mov dword [ebp + 0xac], eax
mov dword [ebp + 0xb0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0x9c], ebx
mov dword [ebp], edx
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0xa0], ebx
mov dword [ebp + 0xa4], ebx
mov byte [ebp + 0x61], bl
mov dword [ebp + 0xa8], ebx
mov dword [ebp + 0x80], ebx
mov dword [ebp + 0x84], ebx
mov dword [ebp + 0xb4], ebx
mov edi, dword [eax + 4]
add esp, 8
mov dword [esp + 0x14], ebx
cmp dword [edi + 0x2dc], ebx
je 0x42aba2
mov ecx, edi
call fcn.0043aa40
cmp eax, 6
jl 0x42aba2
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x42aba2
mov ecx, dword [eax + 0x20]
cmp ecx, ebx
je 0x42aba2
mov ecx, dword [ecx + 0x34]
cmp ecx, ebx
je 0x42aba2
cmp dword [ecx + 0x2dc], ebx
je 0x42ab98
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x42ab79
jmp 0x42aba2
mov ecx, dword [eax + 0x20]
mov edx, dword [ecx + 0x34]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x3c]
cmp dword [eax + 0x44], ebx
jne 0x42ac54
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x42abc3
mov cl, byte [eax + 0xb]
cmp cl, 6
je 0x42abcd
cmp cl, 0x61
je 0x42abcd
cmp byte [eax + 0xb], 2
je 0x42abcd
xor esi, esi
jmp 0x42abd2
mov esi, 1
mov ecx, edi
call fcn.0043aa40
cmp eax, 6
jl 0x42abed
cmp esi, ebx
jne 0x42abf1
mov ecx, dword [ebp + 0x10]
cmp byte [ecx + 0xb], 9
jne 0x42ac54
jmp 0x42abf1
cmp esi, ebx
je 0x42ac54
push str.instance
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.00414fc0
mov esi, dword [esp + 0x10]
push 0xa
lea ecx, [esp + 0x2c]
mov edx, dword [esi + 0x4fc]
inc edx
mov eax, edx
mov dword [esi + 0x4fc], edx
push eax
call fcn.00414cf0
mov eax, dword [esp + 0x28]
cmp eax, ebx
jne 0x42ac37
mov eax, 0x4ba844
push eax
call fcn.00415360
mov edx, dword [esp + 0x2c]
add esp, 4
mov ecx, 0x4ba850
mov dword [ebp + 0x1c], eax
push edx
call fcn.00417540
jmp 0x42ac6b
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x44]
push ecx
call fcn.00415360
mov esi, dword [esp + 0x14]
add esp, 4
mov dword [ebp + 0x1c], eax
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x42ac78
mov eax, dword [eax + 0x20]
jmp 0x42ac7a
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword [ebp + 0x20], eax
test byte [ecx + 0x2c], 0x40
je 0x42ac8f
xor eax, eax
mov ax, word [ecx + 0x3e]
jmp 0x42ac91
xor eax, eax
mov ecx, ebp
mov word [ebp + 0x68], ax
call fcn.00432590
mov ecx, dword [ebp + 0x10]
xor eax, eax
mov al, byte [ecx + 0xb]
add eax, 0xfffffffe
cmp eax, 0x5f
ja case.0x42acb8.7
xor edx, edx
mov dl, byte [eax + 0x42b44c]
jmp dword [edx*4 + 0x42b434]
push 0x24
mov word [ebp + 0x78], 0xffff
call fcn.004178f0
add esp, 4
mov ecx, eax
mov dword [ebp + 0x74], eax
call fcn.00429430
mov ecx, dword [ebp + 0x10]
xor eax, eax
mov al, byte [ecx + 0x34]
sub eax, 2
jne 0x42ad7e
mov edx, dword [ecx + 0x20]
mov eax, 0x66666667
imul edx
mov ecx, dword [ecx + 0x18]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x66666667
push edx
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
push edx
call fcn.0048cf10
mov ecx, dword [ebp + 0x10]
mov dword [ebp + 0x7c], eax
mov eax, 0x66666667
add esp, 8
mov edx, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x18]
imul edx
sar edx, 3
mov eax, edx
push ebx
shr eax, 0x1f
add edx, eax
push ebx
mov eax, 0x66666667
push edx
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, dword [ebp + 0x74]
push edx
push 5
call fcn.00429480
mov edx, dword [ebp + 0x74]
mov dword [edx + 0x20], 1
mov ecx, dword [ebp + 0x74]
call fcn.004293f0
mov eax, dword [ebp + 0x74]
mov eax, dword [eax + 4]
cmp eax, ebx
je 0x42ad76
mov dword [eax], ebx
mov ecx, dword [ebp + 0x74]
call fcn.00429410
push 0x230
call fcn.004178f0
add esp, 4
cmp eax, ebx
je case.0x42acb8.7
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x1dc]
mov ecx, eax
push edx
call fcn.004363b0
mov esi, eax
cmp esi, ebx
je case.0x42acb8.7
mov ecx, esi
call fcn.00436620
mov eax, dword [esp + 0x14]
mov dword [ebp + 0x20], esi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0x74], ebp
mov dword [esi + 0x68], ecx
mov ecx, dword [ebp]
push esi
mov dword [esi + 0x70], ecx
call fcn.004298e0
push ebp
mov ecx, esi
mov dword [esi + 0x40], ebx
mov dword [esi], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], 2
call fcn.00437a60
mov edx, dword [esi + 0x34]
lea ecx, [esi + 0x148]
mov eax, dword [edx + 0x1e8]
push eax
call fcn.00440710
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x2c8], ebx
jmp 0x42aefb
xor edx, edx
mov eax, 1
mov dx, word [esi + 0x2f8]
cmp dword [ebp + 0x14], edx
jne 0x42ae52
mov edx, dword [ebp + 4]
cmp edx, dword [esi + 0x2f0]
jne 0x42ae52
cmp dword [esi + 0x2f4], ecx
jne 0x42ae52
mov cx, word [ebp + 0x18]
cmp cx, word [esi + 0x2fa]
jne 0x42ae52
mov eax, dword [esi + 0x2d8]
mov dword [esi + 0x2d4], ebp
push eax
push ebp
mov ecx, esi
call fcn.0042bbb0
mov ecx, edi
call fcn.0043aa40
cmp eax, 6
jl case.0x42acb8.7
push 0x230
call fcn.004178f0
add esp, 4
cmp eax, ebx
je case.0x42acb8.7
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x1dc]
push ecx
mov ecx, eax
call fcn.004363b0
mov esi, eax
cmp esi, ebx
je case.0x42acb8.7
mov ecx, esi
call fcn.00436620
mov edx, dword [esp + 0x14]
mov dword [ebp + 0x20], esi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edx
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x74], ebp
mov dword [esi + 0x68], eax
mov ecx, dword [ebp]
push esi
mov dword [esi + 0x70], ecx
call fcn.004298e0
push ebp
mov ecx, esi
mov dword [esi + 0x40], ebx
mov dword [esi], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], 2
call fcn.00437a60
mov ecx, dword [esi + 0x34]
mov edx, dword [ecx + 0x1e8]
lea ecx, [esi + 0x148]
push edx
call fcn.00440710
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x2c8], ebx
jne case.0x42acb8.7
mov ecx, dword [esp + 0x10]
push ebp
call fcn.0042a920
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
push 0x2d8
call fcn.004178f0
add esp, 4
cmp eax, ebx
je 0x42af32
push ebp
mov ecx, eax
call fcn.00410930
jmp 0x42af34
xor eax, eax
mov dword [ebp + 0xa8], eax
mov edx, dword [esi + 0x2c8]
cmp edx, ebx
mov dword [esp + 0x3c], ebx
je 0x42af72
mov eax, ebp
mov ecx, dword [eax + 4]
cmp ecx, edx
je 0x42af57
mov eax, ecx
cmp eax, ebx
jne 0x42af4a
xor ecx, ecx
cmp eax, ebx
setne cl
mov eax, ecx
cmp eax, ebx
mov dword [esp + 0x3c], eax
je 0x42af72
mov dword [esi + 0x2cc], 1
mov ecx, edi
call fcn.0043aa40
cmp eax, 6
jl 0x42b03f
push 0x230
call fcn.004178f0
add esp, 4
cmp eax, ebx
je case.0x42acb8.7
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x1dc]
push ecx
mov ecx, eax
call fcn.004363b0
mov esi, eax
cmp esi, ebx
je case.0x42acb8.7
mov ecx, esi
call fcn.00436620
mov edx, dword [esp + 0x14]
mov dword [ebp + 0x20], esi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edx
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x74], ebp
mov dword [esi + 0x68], eax
mov ecx, dword [ebp]
push esi
mov dword [esi + 0x70], ecx
call fcn.004298e0
push ebp
mov ecx, esi
mov dword [esi + 0x40], ebx
mov dword [esi + 0x60], ebx
mov dword [esi], ebx
mov dword [esi + 0x64], 2
call fcn.00437a60
mov ecx, dword [esi + 0x34]
mov edx, dword [ecx + 0x1e8]
lea ecx, [esi + 0x148]
push edx
call fcn.00440710
cmp dword [esp + 0x3c], ebx
jne 0x42b01d
mov ecx, dword [ebp + 0xa8]
cmp ecx, ebx
je 0x42b01d
call fcn.004126d0
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x2c8], ebx
jne case.0x42acb8.7
push ebp
call fcn.0042a920
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
cmp dword [esp + 0x3c], ebx
jne case.0x42acb8.7
mov ecx, dword [ebp + 0xa8]
cmp ecx, ebx
je case.0x42acb8.7
call fcn.004126d0
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x24], ebx
test ch, 1
je 0x42b11f
mov ecx, dword [edi + 0x44]
mov eax, dword [edi + 0x290]
cmp ecx, eax
jl case.0x42acb8.7
push 0x5b8
call fcn.004178f0
add esp, 4
cmp eax, ebx
je 0x42b0c0
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x1dc]
push ecx
mov ecx, eax
call fcn.00439660
mov esi, eax
jmp 0x42b0c2
xor esi, esi
mov edx, dword [edi + 0x40]
mov eax, dword [edi + 0x44]
mov ecx, dword [edi + 0x60]
mov dword [esp + 0x18], edx
mov edx, dword [edi]
mov dword [esp + 0x20], eax
mov dword [esi], edx
mov eax, dword [edi + 0x2a8]
mov dword [esi + 0x2a8], eax
mov dword [esi + 0x2a4], 1
mov eax, dword [edi + 0x294]
mov dword [esp + 0x24], ecx
cmp eax, ebx
mov dword [esp + 0x1c], esi
mov dword [esi + 0x294], eax
jne 0x42b117
push 4
call fcn.004178f0
mov dword [esi + 0x294], eax
add esp, 4
mov dword [eax], ebx
mov eax, dword [esi + 0x294]
jmp 0x42b143
mov eax, dword [edi + 0x294]
mov esi, edi
cmp eax, ebx
jne 0x42b13d
push 4
call fcn.004178f0
mov dword [edi + 0x294], eax
add esp, 4
mov dword [eax], ebx
mov eax, dword [edi + 0x294]
mov ecx, dword [eax]
inc ecx
cmp esi, ebx
mov dword [eax], ecx
je case.0x42acb8.7
mov ecx, esi
call fcn.00436620
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov dword [ebp + 0x20], esi
mov dword [esi + 0x34], ecx
mov dword [esi + 0x38], edx
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x68], eax
mov dword [esi + 0x74], ebp
mov ecx, dword [ebp]
push esi
mov dword [esi + 0x70], ecx
call fcn.004298e0
mov ecx, dword [edi + 0x290]
mov dword [esp + 0x1c], ecx
mov ecx, edi
call fcn.0043aa40
mov edx, dword [edi]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov dword [esi], edx
mov dword [esi + 4], ecx
jl 0x42b1a9
mov edx, eax
mov dword [esi + 0x20], edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esi + 0x14], 0x20000000
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x38]
cmp eax, ebx
mov dword [esi + 0x40], ecx
mov dword [esi + 0x60], edx
je 0x42b1e6
mov eax, dword [eax + 0x20]
cmp eax, ebx
je 0x42b1e6
mov eax, dword [eax + 0x1e8]
lea ecx, [esi + 0x148]
push eax
call fcn.00440710
mov ecx, dword [esp + 0x3c]
cmp dword [ecx + 0x48], ebx
je 0x42b252
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x80], esi
lea ecx, [esi + 0x78]
mov edx, dword [eax + 0x54]
push edx
mov edx, dword [eax + 0x50]
mov eax, dword [eax + 0x48]
push edx
push eax
call fcn.00401380
push ebx
push ebx
push ebx
push 0x200
lea ecx, [esi + 0x78]
call fcn.00401440
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 0x30]
cmp byte [edx + 0xa], bl
je 0x42b23e
cmp edi, ebx
je 0x42b239
mov ecx, edi
call fcn.0043aa40
cmp eax, 6
jl 0x42b23e
mov dword [esi + 0x30], ebx
jmp 0x42b252
push ebx
push ebx
push ebx
push 1
lea ecx, [esi + 0x78]
call fcn.00401440
mov dword [esi + 0x30], 1
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x2c8], ebx
jne 0x42b266
push ebp
mov ecx, eax
call fcn.0042a920
cmp dword [esi + 0x50], ebx
jne 0x42b422
jmp 0x42b411
push 0x230
call fcn.004178f0
add esp, 4
cmp eax, ebx
je case.0x42acb8.7
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x1dc]
mov ecx, eax
push edx
call fcn.004363b0
mov esi, eax
cmp esi, ebx
je case.0x42acb8.7
mov ecx, esi
call fcn.00436620
mov eax, dword [esp + 0x14]
mov dword [ebp + 0x20], esi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0x74], ebp
mov dword [esi + 0x68], ecx
mov ecx, dword [ebp]
push esi
mov dword [esi + 0x70], ecx
call fcn.004298e0
mov ecx, edi
call fcn.0043aa40
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx + 0x10]
mov dword [esi + 4], ebx
mov dword [esi], ecx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0x7fffffff
mov dword [esi + 0x14], 0x20000000
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x2c]
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [esi + 0x34]
mov edx, dword [ecx + 0x28]
lea ecx, [esi + 0x148]
mov dword [esi + 0x60], edx
mov edx, dword [eax + 0x1e8]
push edx
call fcn.00440710
mov eax, dword [esp + 0x3c]
cmp dword [eax + 0x48], ebx
je 0x42b37c
mov dword [esi + 0x80], esi
mov edx, dword [eax + 0x54]
push edx
mov edx, dword [eax + 0x50]
mov eax, dword [eax + 0x48]
push edx
lea ecx, [esi + 0x78]
push eax
call fcn.00401380
push ebx
push ebx
push ebx
push 0x200
lea ecx, [esi + 0x78]
call fcn.00401440
cmp dword [esi + 0x44], ebx
jne 0x42b368
cmp edi, ebx
je 0x42b363
mov ecx, edi
call fcn.0043aa40
cmp eax, 6
jl 0x42b368
mov dword [esi + 0x30], ebx
jmp 0x42b37c
push ebx
push ebx
push ebx
push 1
lea ecx, [esi + 0x78]
call fcn.00401440
mov dword [esi + 0x30], 1
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 0x4c]
cmp eax, ebx
je 0x42b3fa
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x50c]
cmp ecx, ebx
je 0x42b3fa
push 1
push eax
call fcn.00451080
test eax, eax
je 0x42b3fa
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + 0x14]
cmp edi, ebx
je 0x42b3fa
test byte [edi + 0x34], 1
jne 0x42b3f3
mov eax, dword [esp + 0x10]
mov edx, dword [edi + 0x18]
push edx
mov ecx, dword [eax + 0x50c]
call fcn.00444370
cmp eax, 0xffffffff
je 0x42b3e1
mov ecx, dword [esp + 0x10]
push edi
push eax
push esi
mov ecx, dword [ecx + 0x50c]
call fcn.00443f50
jmp 0x42b3f3
mov edx, dword [edi + 0x18]
push ebx
push ebx
push edi
push edx
lea ecx, [esi + 0x148]
call fcn.0043eb40
mov edi, dword [edi + 0x14]
cmp edi, ebx
jne 0x42b3af
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x2c8], ebx
jne 0x42b40c
push ebp
call fcn.0042a920
cmp dword [esi + 0x50], ebx
jne 0x42b422
push ebp
mov ecx, esi
call fcn.00437a60
push ebx
push ebx
mov ecx, esi
call fcn.004391f0
mov dword [esi + 0x50], ebx
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8