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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x522f41
push eax
mov dword fs:[0], esp
sub esp, 0x138
push ebx
push ebp
mov ebp, dword [esp + 0x150]
push esi
xor esi, esi
push edi
mov eax, dword [ebp + 4]
mov ebx, ecx
cmp eax, esi
je 0x4209ee
mov ecx, dword [ebp + 8]
sub ecx, eax
test ecx, 0xfffffffc
jne 0x4209f7
mov ax, 0xffc7
jmp 0x421438
lea ecx, [esp + 0xe8]
call fcn.0049ce70
mov dl, byte [esp + 0x13]
mov dword [esp + 0x150], esi
mov byte [esp + 0x94], dl
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], esi
push 3
lea ecx, [esp + 0xec]
mov byte [esp + 0x154], 1
call fcn.0049d040
test al, al
jne 0x420a6d
push esi
call fcn.00514120
add esp, 4
lea ecx, [esp + 0xe8]
mov dword [esp + 0x150], 0xffffffff
call fcn.0049cff0
mov ax, 0xffcd
jmp 0x421438
lea ecx, [esp + 0x30]
call fcn.0048a5e0
lea ecx, [esp + 0x38]
mov byte [esp + 0x150], 2
call fcn.0048a5e0
mov al, byte [esp + 0x13]
mov dword [esp + 0x40], esi
mov byte [esp + 0x3c], al
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
lea ecx, [esp + 0xb4]
mov byte [esp + 0x150], 3
call fcn.004974f0
mov cl, byte [esp + 0x13]
mov dword [esp + 0x18], esi
mov byte [esp + 0x14], cl
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x150], 5
call fcn.0048a5e0
lea ecx, [esp + 0x60]
mov byte [esp + 0x150], 6
call fcn.0048a5e0
mov dl, byte [esp + 0x13]
push esi
lea ecx, [esp + 0x68]
mov byte [esp + 0x154], 7
mov byte [esp + 0x68], dl
call fcn.00405cc0
lea ecx, [esp + 0x78]
mov byte [esp + 0x150], 8
call fcn.0049f490
mov byte [esp + 0x150], 9
mov eax, dword [ebx + 0x74]
mov edx, dword [ebx + 0x70]
lea ecx, [ebx + 0x6c]
push eax
push edx
call fcn.004153d0
mov eax, dword [ebx + 0x1c]
lea edi, [ebx + 0x18]
push eax
mov ecx, dword [eax]
lea eax, [esp + 0xac]
push ecx
push eax
mov ecx, edi
call fcn.00415480
mov al, byte [ebx + 0x14]
test al, al
je 0x420c4c
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x54a530
call fcn.0048a680
mov ecx, dword [0x55b3e4]
call fcn.0049f5c0
mov esi, dword [ebp + 4]
mov eax, dword [ebp + 8]
cmp esi, eax
je 0x420b96
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push esi
call fcn.0048a5f0
mov ecx, dword [0x55b3e4]
call fcn.0049f700
mov eax, dword [ebp + 8]
add esi, 4
cmp esi, eax
jne 0x420b74
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [0x55b3e4]
call fcn.0049fbc0
test al, al
je 0x4212ff
mov eax, dword [ebx + 0x1c]
lea ecx, [ebx + 0x18]
push eax
mov edx, dword [eax]
push edx
lea edx, [esp + 0xac]
push edx
call fcn.00415480
lea ecx, [ebx + 0x24]
call fcn.00496cd0
mov eax, dword [ebx + 0x84]
mov edx, dword [ebx + 0x80]
lea ecx, [ebx + 0x7c]
push eax
push edx
call fcn.00415670
lea ecx, [ebx + 0x34]
call fcn.00497af0
mov esi, dword [ebp + 4]
mov eax, dword [ebp + 8]
xor edi, edi
cmp esi, eax
je 0x420c95
push edi
lea ecx, [esp + 0x7c]
call fcn.0049fd40
test al, al
je 0x420c3f
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push esi
call fcn.0048a5f0
lea ecx, [esp + 0x34]
call fcn.0048a8d0
mov eax, dword [ebx + 0x1c]
lea ecx, [ebx + 0x18]
lea edx, [esp + 0x30]
mov word [esp + 0x34], 0
push edx
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.00415420
mov eax, dword [ebp + 8]
add esi, 4
inc edi
cmp esi, eax
jne 0x420bfb
jmp 0x420c95
mov esi, dword [ebp + 4]
mov eax, dword [ebp + 8]
cmp esi, eax
je 0x420c95
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push esi
call fcn.0048a5f0
lea ecx, [esp + 0x34]
call fcn.0048a8d0
mov eax, dword [edi + 4]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0xb4]
push eax
push edx
mov ecx, edi
mov word [esp + 0x40], 0
call fcn.00415420
mov eax, dword [ebp + 8]
add esi, 4
cmp esi, eax
jne 0x420c56
mov eax, dword [ebx + 0x20]
test eax, eax
ja 0x420ce3
mov esi, dword [ebp + 4]
mov eax, dword [ebp + 8]
cmp esi, eax
je 0x420ce3
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push esi
call fcn.0048a5f0
lea ecx, [esp + 0x34]
call fcn.0048a8d0
mov eax, dword [ebx + 0x1c]
lea ecx, [ebx + 0x18]
lea edx, [esp + 0x30]
mov word [esp + 0x34], 0
push edx
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.00415420
mov eax, dword [ebp + 8]
add esi, 4
cmp esi, eax
jne 0x420ca6
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 8]
mov al, byte [esp + 0x13]
mov byte [esp + 0x4c], al
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
lea ebp, [ebx + 0x34]
mov byte [esp + 0x150], 0xa
mov ecx, ebp
call fcn.00497af0
mov eax, dword [ebx + 0x20]
test eax, eax
jbe 0x4210b8
lea ecx, [esp + 0x84]
call fcn.00496190
mov esi, dword [ebx + 0x80]
mov eax, dword [ebx + 0x84]
cmp esi, eax
mov byte [esp + 0x150], 0xc
je 0x420df7
sub esp, 0x10
mov dword [esp + 0x34], esp
mov ecx, esp
push esi
call fcn.00415300
lea ecx, [esp + 0x94]
call fcn.004961f0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push ecx
push eax
push eax
call fcn.00415780
mov edx, dword [esp + 0x28]
add esp, 0xc
mov edi, eax
lea ecx, [esp + 0x14]
push edx
push edi
call fcn.00405f70
lea eax, [esp + 0x4c]
push 1
push eax
push esi
mov ecx, 0x558010
mov dword [esp + 0x28], edi
call fcn.00405350
cmp ax, 0xff9b
je 0x42114c
push 0
lea ecx, [esp + 0x50]
call fcn.00405cb0
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0048a5f0
lea ecx, [esp + 0x30]
call fcn.0048a8d0
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
push ecx
push 1
push edx
lea ecx, [esp + 0x20]
call fcn.00405d10
lea eax, [esp + 0x14]
mov ecx, ebp
push eax
call fcn.00497860
mov eax, dword [ebx + 0x84]
add esi, 0x10
cmp esi, eax
jne 0x420d45
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x54a528
call fcn.0048a680
push ecx
mov byte [esp + 0x15c], 0x10
mov ecx, esp
mov dword [esp + 0x68], esp
push 6
push 0x54a520
call fcn.0048a680
mov ecx, dword [0x55b3d8]
mov byte [esp + 0x15c], 0xc
call fcn.0049ebf0
mov eax, dword [ebx + 0x1c]
mov ecx, dword [eax]
cmp ecx, eax
mov dword [esp + 0x28], ecx
je 0x421070
lea ecx, [esp + 0xb4]
call fcn.00497af0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push ecx
push eax
push eax
call fcn.00415780
mov ebp, dword [esp + 0x28]
mov edi, eax
add esp, 0xc
cmp edi, ebp
mov esi, edi
je 0x420e86
push 0
mov ecx, esi
call fcn.004061f0
add esi, 4
cmp esi, ebp
jne 0x420e76
mov edx, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
lea ecx, [ebx + 0x34]
mov ax, word [edx + 0xc]
push eax
call fcn.00497a10
mov esi, eax
lea ecx, [esp + 0x14]
cmp ecx, esi
je 0x420fac
mov edx, dword [esi + 4]
test edx, edx
jne 0x420eb4
xor eax, eax
jmp 0x420ebc
mov eax, dword [esi + 8]
sub eax, edx
sar eax, 2
mov edi, dword [esp + 0x18]
test edi, edi
jne 0x420ec8
xor ecx, ecx
jmp 0x420ed1
mov ecx, dword [esp + 0x1c]
sub ecx, edi
sar ecx, 2
cmp eax, ecx
ja 0x420f09
mov eax, dword [esi + 8]
push edi
push eax
push edx
call fcn.00415780
mov edx, dword [esp + 0x28]
add esp, 0xc
lea ecx, [esp + 0x14]
push edx
push eax
call fcn.00405f70
mov ecx, esi
call fcn.00405c90
mov ecx, dword [esp + 0x18]
lea edx, [ecx + eax*4]
mov dword [esp + 0x1c], edx
jmp 0x420fac
lea ecx, [esp + 0x14]
call fcn.00407e10
mov ecx, esi
mov edi, eax
call fcn.00405c90
cmp eax, edi
ja 0x420f55
mov edi, dword [esi + 4]
lea ecx, [esp + 0x14]
call fcn.00405c90
mov ecx, dword [esp + 0x18]
lea edi, [edi + eax*4]
mov eax, dword [esi + 4]
push ecx
push edi
push eax
call fcn.00415780
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x14]
push edx
push eax
push edi
call fcn.004060b0
jmp 0x420ef2
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00405f70
mov edx, dword [esp + 0x18]
push edx
call fcn.00514120
add esp, 4
mov ecx, esi
call fcn.00405c90
test eax, eax
jge 0x420f82
xor eax, eax
shl eax, 2
push eax
call fcn.00514b36
add esp, 4
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x20]
call fcn.004060b0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0xb8]
call fcn.00497860
mov eax, dword [esp + 0x28]
lea edx, [esp + 0xb4]
add eax, 8
push edx
lea ecx, [esp + 0xdc]
push eax
push ecx
mov ecx, 0x55b274
call fcn.0041f9f0
mov edx, dword [0x531160]
lea ecx, [esp + 0x64]
push edx
push 0
push eax
mov byte [esp + 0x15c], 0x11
call fcn.00407be0
push 1
lea ecx, [esp + 0xdc]
mov byte [esp + 0x154], 0xc
call fcn.00405cc0
push 0
push 0xffff
sub esp, 0x10
lea eax, [esp + 0x7c]
mov ecx, esp
mov dword [esp + 0x74], esp
push eax
call fcn.0040d030
lea ecx, [esp + 0x40]
mov byte [esp + 0x168], 0x12
call fcn.00425570
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.0048a5f0
mov ecx, dword [0x55b3d8]
mov byte [esp + 0x16c], 0xc
call fcn.0049ed30
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
mov ecx, dword [ebx + 0x1c]
cmp eax, ecx
mov dword [esp + 0x28], eax
jne 0x420e4b
lea ecx, [esp + 0xe8]
call fcn.0049d4d0
mov ecx, dword [0x55b3d8]
push 0
call fcn.0049f220
cmp ax, 0xb
mov byte [esp + 0x150], 0xa
lea ecx, [esp + 0x84]
je 0x4210fe
call fcn.004961b0
lea ebp, [ebx + 0x34]
mov ecx, ebp
call fcn.00497af0
mov eax, dword [ebx + 0x20]
test eax, eax
ja 0x420d1d
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push 6
push 0x54a3cc
call fcn.0048a680
push ecx
mov byte [esp + 0x160], 0xb
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x54a518
call fcn.0048a680
mov ecx, 0x55b3d0
mov byte [esp + 0x160], 0xa
call fcn.00499670
jmp 0x421103
call fcn.004961b0
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
cmp esi, edi
mov byte [esp + 0x150], 9
je 0x421129
mov ecx, esi
call fcn.0048a720
add esi, 4
cmp esi, edi
jne 0x421117
mov esi, dword [esp + 0x50]
push esi
call fcn.00514120
mov ebp, dword [esp + 0x15c]
add esp, 4
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
jmp 0x420b18
xor ebx, ebx
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push 6
push 0x54a3cc
call fcn.0048a680
push ecx
mov byte [esp + 0x160], 0xd
mov ecx, esp
mov dword [esp + 0x84], esp
push 6
push 0x54a3ac
call fcn.0048a680
mov ecx, 0x55b3d0
mov byte [esp + 0x160], 0xc
call fcn.00499670
lea ecx, [esp + 0x84]
mov byte [esp + 0x150], 0xa
call fcn.004961b0
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
cmp eax, ecx
mov byte [esp + 0x150], 9
mov edi, ecx
mov esi, eax
je 0x4211d3
push ebx
mov ecx, esi
call fcn.004061f0
add esi, 4
cmp esi, edi
jne 0x4211c0
mov eax, dword [esp + 0x50]
push eax
call fcn.00514120
add esp, 4
lea ecx, [esp + 0x78]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov byte [esp + 0x150], 8
call fcn.0048a720
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0x154], 7
call fcn.00405cc0
lea ecx, [esp + 0x60]
mov byte [esp + 0x150], 6
call fcn.0048a720
lea ecx, [esp + 0x2c]
mov byte [esp + 0x150], 5
call fcn.0048a720
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, eax
mov byte [esp + 0x150], 4
mov edi, eax
je 0x421257
push ebx
mov ecx, esi
call fcn.004061f0
add esi, 4
cmp esi, edi
jne 0x421244
mov esi, dword [esp + 0x18]
push esi
call fcn.00514120
add esp, 4
lea ecx, [esp + 0xb4]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x150], 3
call fcn.004975f0
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
push edx
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x158], 0xf
call fcn.00405f70
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00514120
add esp, 4
lea ecx, [esp + 0x38]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x150], 0xe
call fcn.0048a720
lea ecx, [esp + 0x30]
mov byte [esp + 0x150], 1
call fcn.0048a720
push ebx
call fcn.00514120
add esp, 4
lea ecx, [esp + 0xe8]
mov dword [esp + 0x150], 0xffffffff
call fcn.0049cff0
mov ax, 0xffca
jmp 0x421438
lea ecx, [esp + 0x78]
mov byte [esp + 0x150], 8
call fcn.0048a720
mov eax, dword [esp + 0x68]
xor ebx, ebx
cmp eax, ebx
je 0x421337
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x42132e
cmp al, 0xff
je 0x42132e
dec al
mov byte [ecx], al
jmp 0x421337
push ecx
call fcn.00514120
add esp, 4
lea ecx, [esp + 0x60]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov byte [esp + 0x150], 6
call fcn.0048a720
lea ecx, [esp + 0x2c]
mov byte [esp + 0x150], 5
call fcn.0048a720
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, eax
mov byte [esp + 0x150], 4
mov edi, eax
je 0x42138d
mov ecx, esi
call fcn.0048a720
add esi, 4
cmp esi, edi
jne 0x42137b
mov esi, dword [esp + 0x18]
push esi
call fcn.00514120
add esp, 4
lea ecx, [esp + 0xb4]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x150], 3
call fcn.004975f0
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
cmp esi, eax
mov byte [esp + 0x150], 0x14
mov edi, eax
je 0x4213de
mov ecx, esi
call fcn.0048a720
add esi, 4
cmp esi, edi
jne 0x4213cc
mov esi, dword [esp + 0x40]
push esi
call fcn.00514120
add esp, 4
lea ecx, [esp + 0x38]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x150], 0x13
call fcn.0048a720
lea ecx, [esp + 0x30]
mov byte [esp + 0x150], 1
call fcn.0048a720
push ebx
call fcn.00514120
add esp, 4
lea ecx, [esp + 0xe8]
mov dword [esp + 0x150], 0xffffffff
call fcn.0049cff0
xor ax, ax
mov ecx, dword [esp + 0x148]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x144
ret 4