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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x4c
mov dword [esp + 0x40], ecx
mov ebx, edx
mov esi, eax
mov ebp, dword [esp + 0x6c]
mov edi, dword [esp + 0x70]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
sar ecx, 0x1f
sub edx, ecx
mov dword [esp + 0x28], edx
mov eax, 0x51eb851f
imul ebp
sar edx, 5
sar ebp, 0x1f
sub edx, ebp
mov dword [esp + 0x38], edx
mov eax, 0x51eb851f
imul edi
sar edx, 5
sar edi, 0x1f
sub edx, edi
mov dword [esp + 0x30], edx
mov ecx, dword [esp + 0x74]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
sar ecx, 0x1f
sub edx, ecx
mov dword [esp + 0x34], edx
mov ecx, dword [esp + 0x78]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
sar ecx, 0x1f
sub edx, ecx
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x7c]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
sar ecx, 0x1f
sub edx, ecx
mov dword [esp + 0x2c], edx
test esi, esi
movsx edi, byte [esp + 0x84]
je 0x42a85c
mov ecx, dword [esi + 0x34]
test ebx, ebx
je 0x42a855
mov edx, dword [ebx + 0x34]
movsx ebp, byte [esp + 0x80]
test ebp, ebp
je 0x42a371
mov esi, ebx
mov ebx, dword [esi + 0x34]
mov eax, esi
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ecx
call fcn.00406698
mov ecx, dword [esp + 0x48]
movsx edi, byte [esp + 0x84]
mov edx, dword [esp + 0x44]
movsx ebp, byte [esp + 0x80]
test ebp, ebp
je 0x42a3c0
mov ebp, dword [esp + 0x3c]
cmp ebp, dword [ebx + 0x68]
jne 0x42a3bc
mov ebp, dword [esp + 0x2c]
cmp ebp, dword [ebx + 0x6c]
jne 0x42a3b8
mov ebp, 1
jmp 0x42a3c2
xor ebp, ebp
jmp 0x42a3c2
xor ebp, ebp
jmp 0x42a3c2
xor ebp, ebp
cmp byte [ebx + 0x8a], 1
je 0x42a821
test ebp, ebp
je 0x42a734
mov edx, dword [edx + 0x80]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x44]
test edx, edx
je 0x42a863
cmp edi, 0xa
je 0x42a6e6
cmp edi, 0x15
je 0x42a63d
cmp edi, 0x1f
je 0x42a5ef
cmp edi, 0x29
je 0x42a5a1
cmp edi, 0x2a
je 0x42a565
cmp edi, 0x2b
je 0x42a529
cmp edi, 0x2c
je 0x42a4db
cmp edi, 0x33
je 0x42a48d
test ebp, ebp
jne 0x42a467
mov edx, dword [ebx + 0x80]
test edx, edx
je 0x42a446
push edx
call fcn.0045903f
pop ecx
mov edx, dword [esp + 0x44]
mov dword [ebx + 0x80], edx
mov ecx, dword [esp + 0x3c]
mov dword [ebx + 0x68], ecx
mov ebp, dword [esp + 0x2c]
mov dword [ebx + 0x6c], ebp
mov eax, esi
call fcn.00406698
jmp 0x42a46c
cmp ebp, 2
je 0x42a476
xor eax, eax
add esp, 0x4c
pop ebx
pop ebp
pop esi
pop edi
ret
mov edx, dword [esp + 0x3c]
mov dword [ebx + 0x68], edx
mov ecx, dword [esp + 0x2c]
mov dword [ebx + 0x6c], ecx
mov eax, esi
call fcn.00406698
jmp 0x42a46c
mov edi, dword [esp + 0x38]
mov dword [esp + 0xc], edi
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 0x68]
mov dword [esp + 0x18], edx
mov edx, dword [ecx + 0x6c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x44]
mov edx, dword [ecx + 0x80]
mov ecx, dword [esp + 0x28]
call fcn.0042a87c
jmp 0x42a431
mov edi, dword [esp + 0x38]
mov dword [esp + 0xc], edi
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 0x68]
mov dword [esp + 0x18], edx
mov edx, dword [ecx + 0x6c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x44]
mov edx, dword [ecx + 0x80]
mov ecx, dword [esp + 0x28]
call fcn.0040adbc
jmp 0x42a431
mov edx, dword [esp + 0x2c]
push edx
mov edi, dword [esp + 0x40]
push edi
push dword [ecx + 0x6c]
push dword [ecx + 0x68]
mov edx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x44]
push edx
push dword [ecx + 0x80]
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0042b014
add esp, 0x28
jmp 0x42a431
mov edx, dword [esp + 0x2c]
push edx
mov edi, dword [esp + 0x40]
push edi
push dword [ecx + 0x6c]
push dword [ecx + 0x68]
mov edx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x44]
push edx
push dword [ecx + 0x80]
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0042b7e0
add esp, 0x28
jmp 0x42a431
mov edi, dword [esp + 0x38]
mov dword [esp + 0xc], edi
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 0x68]
mov dword [esp + 0x18], edx
mov edx, dword [ecx + 0x6c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x44]
mov edx, dword [ecx + 0x80]
mov ecx, dword [esp + 0x28]
call fcn.0042c06c
jmp 0x42a431
mov edi, dword [esp + 0x38]
mov dword [esp + 0xc], edi
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 0x68]
mov dword [esp + 0x18], edx
mov edx, dword [ecx + 0x6c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x44]
mov edx, dword [ecx + 0x80]
mov ecx, dword [esp + 0x28]
call fcn.0042cac8
jmp 0x42a431
movzx edx, byte [0x5a34ac]
test edx, edx
je 0x42a6a1
movzx edx, byte [0x58604c]
test edx, edx
je 0x42a6a1
mov edi, dword [esp + 0x6c]
mov dword [esp + 0xc], edi
mov edx, dword [esp + 0x70]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 0x68]
mov dword [esp + 0x18], edx
mov edx, dword [ecx + 0x6c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x44]
mov edx, dword [ecx + 0x80]
mov ecx, dword [esp + 0x40]
call fcn.0040efac
jmp 0x42a431
mov edx, dword [esp + 0x7c]
push edx
mov edi, dword [esp + 0x7c]
push edi
push dword [ecx + 0x6c]
push dword [ecx + 0x68]
mov edx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x5c]
push edx
push dword [ecx + 0x80]
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0040e3c4
add esp, 0x28
jmp 0x42a431
mov edi, dword [esp + 0x38]
mov dword [esp + 0xc], edi
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 0x68]
mov dword [esp + 0x18], edx
mov edx, dword [ecx + 0x6c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x44]
mov edx, dword [ecx + 0x80]
mov ecx, dword [esp + 0x28]
call fcn.0040dfec
jmp 0x42a431
mov eax, dword [esp + 0x3c]
lea edx, [eax + eax]
add edx, edx
cmp eax, 0x2000
jg 0x42a7d0
mov eax, dword [esp + 0x2c]
imul eax, edx
lea edx, [eax + edx + 4]
push edx
mov dword [esp + 0x4c], ecx
call fcn.00458ddc
mov ecx, dword [esp + 0x4c]
movsx edi, byte [esp + 0x88]
add esp, 4
mov dword [esp + 0x44], eax
mov edx, eax
test edx, edx
je 0x42a782
movzx edx, byte [ecx + 0x76]
mov byte [ebx + 0x76], dl
jmp 0x42a3e1
mov edx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x40]
push edx
push 0
push 0x7dda78
push 0x7d98a0
mov dword [esp + 0x5c], ecx
call fcn.00432de0
mov ecx, dword [esp + 0x5c]
movsx edi, byte [esp + 0x98]
push 0
push 1
push 0x1965e
mov dword [esp + 0x68], ecx
call fcn.004567a0
mov ecx, dword [esp + 0x68]
movsx edi, byte [esp + 0xa4]
add esp, 0x20
jmp 0x42a776
mov edx, dword [esp + 0x2c]
push edx
mov edx, eax
push edx
push 0x7dda50
push 0x7d98a0
mov dword [esp + 0x58], ecx
call fcn.0040af10
mov ecx, dword [esp + 0x58]
movsx edi, byte [esp + 0x94]
push 1
push 0x186aa
mov dword [esp + 0x60], ecx
call fcn.004567fc
mov ecx, dword [esp + 0x60]
movsx edi, byte [esp + 0x9c]
add esp, 0x18
xor edx, edx
mov dword [esp + 0x44], edx
jmp 0x42a776
movsx eax, byte [esp + 0x80]
test eax, eax
je 0x42a3cf
mov eax, dword [esp + 0x3c]
cmp eax, dword [ebx + 0x68]
jge 0x42a3cf
mov eax, dword [esp + 0x2c]
cmp eax, dword [ebx + 0x6c]
jge 0x42a3cf
mov ebp, 2
jmp 0x42a3cf
xor edx, edx
jmp 0x42a363
xor ecx, ecx
jmp 0x42a358
mov eax, 0xffffffff
add esp, 0x4c
pop ebx
pop ebp
pop esi
pop edi
ret