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

Disassembly:
push 0xffffffffffffffff
push 0x47afcf
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x4947a0]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4947a0]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov eax, dword [esp + 0x150]
mov dword [esp + 0x1c], eax
xor esi, esi
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x15c]
mov dword [esp + 0x150], esi
push ecx
mov ebp, 0xf
lea ecx, [esp + 0x84]
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x98], esi
mov byte [esp + 0x88], 0
call fcn.00401910
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x14c], 1
call fcn.0041ac00
sub esp, 0x1c
mov byte [esp + 0x164], 2
mov ecx, esp
mov dword [esp + 0x34], esp
push 1
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], esi
push 0x4845c0
mov byte [ecx + 4], 0
call fcn.00401bf0
mov ecx, dword [esp + 0x98]
mov ebx, 0x10
cmp dword [esp + 0xac], ebx
jae 0x4277b6
lea ecx, [esp + 0x98]
push str.TAR:
lea edi, [esp + 0x140]
call fcn.0040f860
add esp, 4
mov byte [esp + 0x164], 3
mov ecx, esp
mov dword [esp + 0x34], esp
push 1
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], esi
push 0x4845c0
mov byte [ecx + 4], 0
call fcn.00401bf0
mov ecx, dword [esp + 0x98]
cmp dword [esp + 0xac], ebx
jae 0x427805
lea ecx, [esp + 0x98]
push str.TAK:
lea edi, [esp + 0x108]
call fcn.0040f860
add esp, 4
mov byte [esp + 0x164], 4
mov ecx, esp
mov dword [esp + 0x34], esp
push 1
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], esi
push 0x4845c0
mov byte [ecx + 4], 0
call fcn.00401bf0
mov ecx, dword [esp + 0x98]
cmp dword [esp + 0xac], ebx
jae 0x427854
lea ecx, [esp + 0x98]
push str.TAP:
lea edi, [esp + 0xec]
call fcn.0040f860
add esp, 4
mov byte [esp + 0x164], 5
mov ecx, esp
mov dword [esp + 0x34], esp
push 1
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], esi
push 0x4845c0
mov byte [ecx + 4], 0
call fcn.00401bf0
mov ecx, dword [esp + 0x98]
cmp dword [esp + 0xac], ebx
jae 0x4278a3
lea ecx, [esp + 0x98]
push str.TAF:
lea edi, [esp + 0x124]
call fcn.0040f860
add esp, 4
mov byte [esp + 0x164], 6
mov ecx, esp
mov dword [esp + 0x34], esp
push 1
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], esi
push 0x4845c0
mov byte [ecx + 4], 0
call fcn.00401bf0
mov ecx, dword [esp + 0x98]
cmp dword [esp + 0xac], ebx
jae 0x4278f2
lea ecx, [esp + 0x98]
push str.MSG:
lea edi, [esp + 0xd0]
call fcn.0040f860
add esp, 4
mov byte [esp + 0x164], 7
mov ecx, esp
mov dword [esp + 0x34], esp
push 1
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], esi
push 0x4845c0
mov byte [ecx + 4], 0
call fcn.00401bf0
mov ecx, dword [esp + 0x98]
cmp dword [esp + 0xac], ebx
jae 0x427941
lea ecx, [esp + 0x98]
push str.MOD:
lea edi, [esp + 0xb4]
call fcn.0040f860
add esp, 0x20
cmp dword [eax + 0x18], ebx
jb 0x42795f
mov eax, dword [eax + 4]
jmp 0x427962
add eax, 4
push eax
call fcn.0045ea44
add esp, 4
mov dword [esp + 0x4c], eax
cmp dword [esp + 0xac], ebx
jb 0x427988
mov eax, dword [esp + 0x98]
push eax
call fcn.004396bc
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 1
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], esi
push 0x4845c0
mov byte [ecx + 4], 0
call fcn.00401bf0
mov ecx, dword [esp + 0x98]
cmp dword [esp + 0xac], ebx
jae 0x4279be
lea ecx, [esp + 0x98]
push str.RND:
lea edi, [esp + 0xb4]
call fcn.0040f860
add esp, 0x20
cmp dword [eax + 0x18], ebx
jb 0x4279dc
mov eax, dword [eax + 4]
jmp 0x4279df
add eax, 4
push eax
call fcn.0045ea44
add esp, 4
mov dword [esp + 0x44], eax
cmp dword [esp + 0xac], ebx
jb 0x427a05
mov ecx, dword [esp + 0x98]
push ecx
call fcn.004396bc
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 1
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], esi
push 0x4845c0
mov byte [ecx + 4], 0
call fcn.00401bf0
mov ecx, dword [esp + 0x98]
cmp dword [esp + 0xac], ebx
jae 0x427a3b
lea ecx, [esp + 0x98]
push str.NUM:
lea edi, [esp + 0xb4]
call fcn.0040f860
add esp, 0x20
cmp dword [eax + 0x18], ebx
jb 0x427a59
mov eax, dword [eax + 4]
jmp 0x427a5c
add eax, 4
push eax
call fcn.0045ea44
add esp, 4
mov dword [esp + 0x48], eax
cmp dword [esp + 0xac], ebx
jb 0x427a82
mov edx, dword [esp + 0x98]
push edx
call fcn.004396bc
add esp, 4
mov ebx, dword [esp + 0x1c]
push ebx
call fcn.004325d0
mov edi, eax
mov dword [esp + 0x18], edi
cmp edi, esi
je 0x427a9e
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
push 0x38
mov byte [esp + 0x14c], 8
call fcn.0043968c
mov ebp, eax
add esp, 4
mov dword [esp + 0x50], ebp
mov byte [esp + 0x148], 9
cmp ebp, esi
je 0x427ae5
call fcn.004214e0
push eax
push ecx
mov eax, esp
mov dword [esp + 0x28], esp
mov dword [eax], edi
test edi, edi
je 0x427add
mov edx, dword [edi]
mov eax, dword [edx + 4]
push edi
call eax
push ebp
call fcn.00406930
mov esi, eax
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0x164], 8
mov dword [esp + 0x6c], esp
xor ebx, ebx
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x144]
lea ebp, [ebx + 0xf]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00401910
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0x180], 0xa
mov dword [esp + 0x58], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x128]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00401910
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0x19c], 0xb
mov dword [esp + 0xc4], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x128]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00401910
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0x1b8], 0xc
mov dword [esp + 0x94], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x17c]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00401910
lea ecx, [esp + 0x9c]
push ecx
push ecx
mov eax, esp
mov dword [esp + 0x9c], esp
mov dword [eax], edi
cmp edi, ebx
je 0x427bb8
mov edx, dword [edi]
mov eax, dword [edx + 4]
push edi
call eax
push esi
mov byte [esp + 0x1c4], 8
call fcn.00407aa0
cmp esi, ebx
je 0x427bda
mov eax, esi
call fcn.004069e0
push esi
call fcn.004396bc
add esp, 4
mov eax, dword [esp + 0x3c]
mov ecx, eax
sub ecx, dword [esp + 0x38]
xor edi, edi
sar ecx, 2
test ecx, ecx
jbe 0x427d0c
mov ebx, edi
lea eax, [esp + 0x2c]
call fcn.0040cf80
mov eax, dword [eax]
mov edx, dword [eax + 0x48]
sub edx, dword [eax + 0x44]
sar edx, 2
test edx, edx
jbe 0x427cf6
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov esi, 0xf
push eax
lea ecx, [esp + 0xa0]
mov dword [eax + 0x2c], 1
mov dword [esp + 0xb8], esi
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
call fcn.00401910
push 4
mov byte [esp + 0x14c], 0xd
call fcn.0043968c
add esp, 4
cmp eax, ebx
je 0x427c60
lea ecx, [esp + 0x58]
mov dword [eax], ecx
jmp 0x427c62
xor eax, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
lea edx, [esp + 0x58]
push edx
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0x168], 0xf
mov dword [esp + 0x44], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xbc]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00401910
lea ecx, [esp + 0x4c]
call fcn.00426da0
mov eax, dword [esp + 0x64]
cmp eax, ebx
je 0x427cbb
push eax
call fcn.004396bc
add esp, 4
mov ecx, dword [esp + 0x58]
push ecx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
call fcn.004396bc
add esp, 4
mov byte [esp + 0x148], 8
cmp dword [esp + 0xac], 0x10
jb 0x427cf6
mov edx, dword [esp + 0x98]
push edx
call fcn.004396bc
add esp, 4
mov eax, dword [esp + 0x3c]
mov ecx, eax
sub ecx, dword [esp + 0x38]
inc edi
sar ecx, 2
cmp edi, ecx
jb 0x427bf1
mov esi, dword [esp + 0x38]
cmp esi, eax
jbe 0x427d19
call fcn.0045e79a
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], esi
mov edi, dword [esp + 0x3c]
cmp dword [esp + 0x38], edi
jbe 0x427d34
call fcn.0045e79a
test ebx, ebx
je 0x427d3e
cmp ebx, dword [esp + 0x2c]
je 0x427d43
call fcn.0045e79a
cmp esi, edi
je 0x427eb1
test ebx, ebx
jne 0x427deb
call fcn.0045e79a
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x427d64
call fcn.0045e79a
mov ebp, dword [esi]
cmp dword [ebp + 0x2c], 1
je 0x427e90
mov edx, dword [ebp + 0x48]
sub edx, dword [ebp + 0x44]
lea esi, [ebp + 0x38]
sar edx, 2
test edx, edx
jbe 0x427df6
mov ebx, dword [esi + 0xc]
cmp ebx, dword [esi + 0x10]
jbe 0x427d8d
call fcn.0045e79a
mov edi, dword [esi]
nop
mov eax, dword [esi + 0x10]
mov dword [esp + 0x20], eax
cmp dword [esi + 0xc], eax
jbe 0x427da1
call fcn.0045e79a
mov eax, dword [esi]
test edi, edi
je 0x427dab
cmp edi, eax
je 0x427db0
call fcn.0045e79a
cmp ebx, dword [esp + 0x20]
je 0x427df6
test edi, edi
jne 0x427df2
call fcn.0045e79a
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x427dcb
call fcn.0045e79a
mov ecx, dword [ebx]
test ecx, ecx
je 0x427dd9
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
push ebx
push edi
lea edi, [esp + 0x78]
call fcn.00436890
mov edi, dword [eax]
mov ebx, dword [eax + 4]
jmp 0x427d90
mov eax, dword [ebx]
jmp 0x427d5a
mov eax, dword [edi]
jmp 0x427dc1
mov eax, dword [esi + 0xc]
test eax, eax
je 0x427e06
push eax
call fcn.004396bc
add esp, 4
mov eax, dword [esi]
xor edi, edi
push eax
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
call fcn.004396bc
mov eax, dword [ebp + 0x34]
add esp, 4
cmp eax, edi
je 0x427e2b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp + 0x30]
cmp eax, edi
je 0x427e3a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [ebp + 0x18], 0x10
jb 0x427e4c
mov eax, dword [ebp + 4]
push eax
call fcn.004396bc
add esp, 4
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], edi
push ebp
mov byte [ebp + 4], 0
call fcn.004396bc
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
add esp, 4
push ecx
push edx
lea edi, [esp + 0x58]
lea esi, [esp + 0x34]
call fcn.00436890
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov ebx, ecx
mov esi, edx
jmp 0x427d25
test ebx, ebx
jne 0x427ead
call fcn.0045e79a
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x427ea5
call fcn.0045e79a
add esi, 4
jmp 0x427d21
mov eax, dword [ebx]
jmp 0x427e9b
mov esi, dword [esp + 0x38]
cmp esi, dword [esp + 0x3c]
jbe 0x427ec0
call fcn.0045e79a
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x3c]
xor ebx, ebx
cmp dword [esp + 0x38], edi
jbe 0x427ed5
call fcn.0045e79a
cmp ebp, ebx
je 0x427edf
cmp ebp, dword [esp + 0x2c]
je 0x427ee4
call fcn.0045e79a
cmp esi, edi
je 0x427f3a
cmp ebp, ebx
jne 0x427f30
call fcn.0045e79a
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x427efd
call fcn.0045e79a
mov eax, dword [esi]
mov edi, dword [esp + 0x1c]
add edi, 0x1b8
lea ebx, [esp + 0x20]
mov dword [esp + 0x20], eax
call fcn.0040d100
test ebp, ebp
jne 0x427f35
call fcn.0045e79a
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x427f2b
call fcn.0045e79a
add esi, 4
jmp 0x427ec4
mov eax, dword [ebp]
jmp 0x427ef3
mov eax, dword [ebp]
jmp 0x427f21
mov esi, dword [esp + 0xc4]
mov eax, esi
cmp esi, 1
jb 0x427f4d
mov eax, 1
cmp dword [esp + 0xc8], 0x10
mov edx, dword [esp + 0xb4]
jae 0x427f65
lea edx, [esp + 0xb4]
mov ecx, 0x4832cc
call fcn.00401d10
cmp eax, ebx
jne 0x428088
cmp esi, 1
jb 0x428088
xor eax, eax
cmp esi, 1
setne al
cmp eax, ebx
jne 0x428088
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x1c]
push ecx
push edx
add esi, 0x1b8
push eax
call fcn.00422ab0
push esi
call fcn.00431dc0
mov edi, 0xf
test eax, eax
jle 0x42808d
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], 0
push 1
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x168], 0x10
push esi
mov dword [esp + 0x40], ebx
call fcn.0042d8c0
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x428068
lea esp, [esp]
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x114]
call eax
push 1
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x38]
push ecx
push esi
mov dword [esp + 0x40], ebx
call fcn.0042d8c0
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x428020
mov esi, 0x10
cmp dword [esp + 0xac], esi
jb 0x428092
mov edx, dword [esp + 0x98]
push edx
call fcn.004396bc
add esp, 4
jmp 0x428092
mov edi, 0xf
mov esi, 0x10
mov byte [esp + 0x148], 7
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4280aa
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esp + 0xc8], esi
jb 0x4280c3
mov eax, dword [esp + 0xb4]
push eax
call fcn.004396bc
add esp, 4
mov dword [esp + 0xc8], edi
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], 0
cmp dword [esp + 0x11c], esi
jb 0x4280f2
mov ecx, dword [esp + 0x108]
push ecx
call fcn.004396bc
add esp, 4
mov dword [esp + 0x11c], edi
mov dword [esp + 0x118], ebx
mov byte [esp + 0x108], 0
cmp dword [esp + 0xe4], esi
jb 0x428121
mov edx, dword [esp + 0xd0]
push edx
call fcn.004396bc
add esp, 4
mov dword [esp + 0xe4], edi
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], 0
cmp dword [esp + 0x100], esi
jb 0x428150
mov eax, dword [esp + 0xec]
push eax
call fcn.004396bc
add esp, 4
mov dword [esp + 0x100], edi
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], 0
cmp dword [esp + 0x138], esi
jb 0x42817f
mov ecx, dword [esp + 0x124]
push ecx
call fcn.004396bc
add esp, 4
mov eax, dword [esp + 0x38]
mov dword [esp + 0x138], edi
mov dword [esp + 0x134], ebx
mov byte [esp + 0x124], 0
cmp eax, ebx
je 0x4281a6
push eax
call fcn.004396bc
add esp, 4
mov edx, dword [esp + 0x2c]
push edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call fcn.004396bc
add esp, 4
cmp dword [esp + 0x90], esi
jb 0x4281d5
mov eax, dword [esp + 0x7c]
push eax
call fcn.004396bc
add esp, 4
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], 0
cmp dword [esp + 0x16c], esi
jb 0x428201
mov ecx, dword [esp + 0x158]
push ecx
call fcn.004396bc
add esp, 4
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.0045e1a6
add esp, 0x138
ret 0x20