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

Disassembly:
push 0xffffffffffffffff
push 0x499f00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x30], edi
xor ebp, ebp
lea ecx, [esp + 0x40]
push ebp
mov dword [esp + 0x70], ebp
call fcn.0046eb50
push ebp
lea ecx, [esp + 0x40]
mov byte [esp + 0x70], 1
call fcn.0046eb50
push ebp
lea ecx, [esp + 0x24]
mov byte [esp + 0x70], 2
call fcn.0046eb50
mov al, byte [esp + 0x74]
mov dword [esp + 0x58], ebp
mov byte [esp + 0x54], al
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
push ebp
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 4
call fcn.0046eb50
push ebp
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 5
call fcn.0046eb50
push ebp
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 6
call fcn.0046eb50
push ebp
lea ecx, [esp + 0x30]
mov byte [esp + 0x70], 7
call fcn.0046eb50
push ebp
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 8
call fcn.0046eb50
push ebp
lea ecx, [esp + 0x20]
mov byte [esp + 0x70], 9
call fcn.0046eb50
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x2c]
mov dword [esp + 0x5c], ecx
push edx
push ebp
lea ecx, [esp + 0x7c]
mov byte [esp + 0x74], 0xa
call fcn.00401ba0
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
call fcn.0046eb30
mov ecx, dword [0x4b63dc]
call fcn.0040e6a0
cmp ax, bp
jne 0x42aaff
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 9
call fcn.0046ec60
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 8
call fcn.0046ec60
lea ecx, [esp + 0x2c]
mov byte [esp + 0x6c], 7
call fcn.0046ec60
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 6
call fcn.0046ec60
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 5
call fcn.0046ec60
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 4
call fcn.0046ec60
mov eax, dword [esp + 0x58]
push eax
call fcn.0048d500
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov byte [esp + 0x6c], 2
call fcn.0046ec60
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 1
call fcn.0046ec60
lea ecx, [esp + 0x40]
mov byte [esp + 0x6c], 0
call fcn.0046ec60
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
cmp esi, eax
mov dword [esp + 0x6c], 0xffffffff
mov edi, eax
je 0x42b01d
mov ecx, esi
call fcn.0046ec60
add esi, 4
cmp esi, edi
jne 0x42aaec
jmp 0x42b019
lea ecx, [esp + 0x2c]
mov esi, 1
call fcn.0046efe0
movsx ecx, ax
dec ecx
cmp ecx, esi
jle 0x42ab3e
push esi
lea ecx, [esp + 0x30]
call fcn.0046ee40
push eax
lea ecx, [esp + 0x20]
call fcn.0046efc0
lea ecx, [esp + 0x2c]
inc esi
call fcn.0046efe0
movsx edx, ax
movsx eax, si
dec edx
cmp eax, edx
jl 0x42ab15
mov al, byte [0x4b63d8]
mov ebx, 3
cmp al, bl
jne 0x42ac25
mov edx, dword [esp + 0x5c]
lea ecx, [esp + 0x44]
push ecx
push 1
push edx
lea ecx, [esp + 0x60]
mov dword [esp + 0x50], ebx
call fcn.004183d0
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0x44]
push eax
push 1
mov esi, 4
push ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x50], esi
call fcn.004183d0
push ecx
mov dword [esp + 0x38], esi
mov ecx, esp
mov dword [esp + 0x50], esp
push ebp
call fcn.0046eb50
lea ecx, [esp + 0x18]
call fcn.0046ee50
push ebp
lea ecx, [esp + 0x18]
call fcn.0046efc0
push 0x31
lea ecx, [esp + 0x18]
call fcn.0046efc0
push 1
lea ecx, [esp + 0x18]
call fcn.0046efc0
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x14]
push edx
call fcn.0046edf0
push 0xff
lea ecx, [esp + 0x18]
call fcn.0046efc0
push 0x4b63c8
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
call fcn.0046eb30
mov ecx, dword [0x4b63dc]
call fcn.004104a0
cmp ax, 1
je 0x42b02e
push ebx
push 2
lea ecx, [esp + 0x1c]
call fcn.0046ef60
push 0x4b63c8
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
jmp 0x42af3f
cmp al, 2
jne 0x42adf7
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0x44]
push eax
push 1
push ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x50], 2
call fcn.004183d0
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x44]
push edx
push 1
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x50], ebx
call fcn.004183d0
push ecx
mov dword [esp + 0x38], ebx
mov ecx, esp
mov dword [esp + 0x50], esp
push ebp
call fcn.0046eb50
lea ecx, [esp + 0x18]
call fcn.0046ee50
push ebp
lea ecx, [esp + 0x18]
call fcn.0046efc0
push 0x31
lea ecx, [esp + 0x18]
call fcn.0046efc0
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
call fcn.0046edf0
lea ecx, [esp + 0x14]
call fcn.0046efe0
cmp ax, 4
jge 0x42acb9
push ebp
lea ecx, [esp + 0x18]
call fcn.0046efc0
push 0xff
lea ecx, [esp + 0x18]
call fcn.0046efc0
push 0x4b63c8
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
call fcn.0046eb30
mov ecx, dword [0x4b63dc]
call fcn.004104a0
cmp ax, 1
je 0x42b02e
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push ebp
call fcn.0046eb50
lea ecx, [esp + 0x18]
call fcn.0046ee50
push ebp
lea ecx, [esp + 0x18]
call fcn.0046efc0
push 0x33
lea ecx, [esp + 0x18]
call fcn.0046efc0
lea ecx, [esp + 0x1c]
call fcn.0046efe0
mov edi, eax
cmp di, 2
jle 0x42ad6c
xor esi, esi
push esi
lea ecx, [esp + 0x20]
call fcn.0046ee40
push eax
lea ecx, [esp + 0x18]
call fcn.0046efc0
inc esi
cmp si, 2
jl 0x42ad30
cmp di, 5
jne 0x42adbf
push 0x31
push 1
lea ecx, [esp + 0x1c]
call fcn.0046ef60
push ebx
push 2
lea ecx, [esp + 0x1c]
call fcn.0046ef60
jmp 0x42adbf
jne 0x42adb1
push 2
push 0x4ae5d4
lea ecx, [esp + 0x4c]
call fcn.0046ebc0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x70], 0xb
call fcn.0046ef00
lea ecx, [esp + 0x44]
mov bl, al
mov byte [esp + 0x6c], 0xa
call fcn.0046ec60
test bl, bl
je 0x42adbf
push 0xb7
lea ecx, [esp + 0x18]
call fcn.0046efc0
jmp 0x42adbf
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
call fcn.0046edf0
push 0xff
lea ecx, [esp + 0x18]
call fcn.0046efc0
push 0x4b63c8
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
call fcn.0046eb30
mov ecx, dword [0x4b63dc]
call fcn.004104a0
mov edi, dword [esp + 0x30]
jmp 0x42af54
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0x44]
push eax
push 1
push ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x50], 1
call fcn.004183d0
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x48]
push edx
mov esi, 2
push 1
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x54], esi
call fcn.004183d0
push ecx
mov dword [esp + 0x38], esi
mov ecx, esp
mov dword [esp + 0x50], esp
push ebp
call fcn.0046eb50
lea ecx, [esp + 0x18]
call fcn.0046ee50
push ebp
lea ecx, [esp + 0x18]
call fcn.0046efc0
push 0x31
lea ecx, [esp + 0x18]
call fcn.0046efc0
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
call fcn.0046edf0
push 0xff
lea ecx, [esp + 0x18]
call fcn.0046efc0
push 0x4b63c8
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
call fcn.0046eb30
mov ecx, dword [0x4b63dc]
call fcn.004104a0
cmp ax, 1
je 0x42b02e
push 0x32
push 1
lea ecx, [esp + 0x1c]
call fcn.0046ef60
push ebp
lea ecx, [esp + 0x18]
call fcn.0046efe0
dec eax
lea ecx, [esp + 0x18]
push eax
call fcn.0046ef60
push 0xff
lea ecx, [esp + 0x18]
call fcn.0046efc0
push 0x4b63c8
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
call fcn.0046eb30
mov ecx, dword [0x4b63dc]
call fcn.004104a0
cmp ax, 1
je 0x42b02e
push 0x33
push 1
lea ecx, [esp + 0x1c]
call fcn.0046ef60
push ebp
lea ecx, [esp + 0x18]
call fcn.0046efe0
dec eax
lea ecx, [esp + 0x18]
push eax
call fcn.0046ef60
push 0xff
lea ecx, [esp + 0x18]
call fcn.0046efc0
push 0x4b63c8
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
lea edx, [esp + 0x1c]
push edx
call fcn.0046eb30
mov ecx, dword [0x4b63dc]
call fcn.004104a0
cmp ax, 1
je 0x42b02e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 9
call fcn.0046ec60
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 8
call fcn.0046ec60
lea ecx, [esp + 0x2c]
mov byte [esp + 0x6c], 7
call fcn.0046ec60
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 6
call fcn.0046ec60
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 5
call fcn.0046ec60
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 4
call fcn.0046ec60
mov eax, dword [esp + 0x58]
push eax
call fcn.0048d500
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov byte [esp + 0x6c], 2
call fcn.0046ec60
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 1
call fcn.0046ec60
lea ecx, [esp + 0x40]
mov byte [esp + 0x6c], 0
call fcn.0046ec60
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
cmp esi, eax
mov dword [esp + 0x6c], 0xffffffff
mov edi, eax
je 0x42b01d
mov ecx, esi
call fcn.0046ec60
add esi, 4
cmp esi, edi
jne 0x42b00b
mov esi, dword [esp + 0x78]
push esi
call fcn.0048d500
add esp, 4
xor ax, ax
jmp 0x42b41d
push 5
lea ecx, [esp + 0x78]
call fcn.00401ba0
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
call fcn.0046eb30
lea ecx, [esp + 0x2c]
call fcn.0046ee50
push 6
lea ecx, [esp + 0x78]
call fcn.00401ba0
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
call fcn.0046eb30
lea ecx, [esp + 0x28]
call fcn.0046ee50
mov al, byte [edi + 0x18]
mov dword [esp + 0x38], ebp
or al, 1
mov byte [edi + 0x18], al
mov eax, dword [0x4b63cc]
cmp eax, ebp
jne 0x42b089
xor ecx, ecx
jmp 0x42b094
mov ecx, dword [0x4b63d0]
sub ecx, eax
sar ecx, 2
movsx eax, word [esp + 0x38]
cmp eax, ecx
jae 0x42b33f
push eax
mov ecx, 0x4b63c8
call fcn.00401ba0
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
call fcn.0046eb30
lea ecx, [esp + 0x24]
call fcn.0046ee50
lea ecx, [esp + 0x20]
call fcn.0046efe0
mov edx, dword [esp + 0x58]
mov ebp, eax
xor ecx, ecx
xor esi, esi
mov cx, word [edx]
movsx eax, bp
sub eax, ecx
mov ecx, dword [esp + 0x34]
cdq
and ecx, 0xffff
idiv ecx
test ax, ax
jle 0x42b21e
movsx eax, ax
xor ebx, ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], eax
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push 0
call fcn.0046eb50
lea ecx, [esp + 0x1c]
call fcn.0046ee50
xor esi, esi
mov edi, 2
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x20]
mov ax, word [esi + edx]
add ax, bx
push eax
call fcn.0046ee40
push eax
lea ecx, [esp + 0x1c]
call fcn.0046efc0
add esi, 2
dec edi
jne 0x42b11e
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
call fcn.0046eb30
mov ecx, dword [0x4b63ec]
call fcn.00416cf0
test ax, ax
je 0x42b1dc
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
call fcn.0046eb30
mov ecx, dword [0x4b63ec]
call fcn.004174a0
add eax, ebx
cmp bp, ax
jle 0x42b205
push eax
lea ecx, [esp + 0x24]
call fcn.0046ee40
mov dl, al
push 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x17], dl
call fcn.0046ee40
mov dl, byte [esp + 0x13]
push 0
and dl, al
lea ecx, [esp + 0x28]
mov byte [esp + 0x17], dl
call fcn.0046ee40
mov cl, byte [esp + 0x13]
cmp cl, al
jne 0x42b205
mov edx, dword [esp + 0x78]
push 0
lea ecx, [edx + 0x1c]
call fcn.0046ee40
push eax
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
jmp 0x42b1f7
mov ecx, dword [esp + 0x78]
push 0
add ecx, 0x1c
call fcn.0046ee40
push eax
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
call fcn.0046eb30
mov ecx, dword [esp + 0x38]
call fcn.0042b440
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x44]
add ebx, ecx
dec eax
mov dword [esp + 0x44], eax
jne 0x42b100
mov esi, dword [esp + 0x4c]
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push 0
call fcn.0046eb50
lea ecx, [esp + 0x1c]
call fcn.0046ee50
imul esi, dword [esp + 0x34]
xor edi, edi
mov ebx, 2
mov eax, dword [esp + 0x58]
mov ax, word [edi + eax]
add ax, si
cmp bp, ax
jle 0x42b265
push eax
lea ecx, [esp + 0x24]
call fcn.0046ee40
push eax
lea ecx, [esp + 0x1c]
call fcn.0046efc0
add edi, 2
dec ebx
jne 0x42b241
lea ecx, [esp + 0x18]
call fcn.0046efe0
cmp ax, 2
jne 0x42b32b
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
call fcn.0046eb30
mov ecx, dword [0x4b63ec]
call fcn.00416cf0
test ax, ax
je 0x42b302
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
call fcn.0046eb30
mov ecx, dword [0x4b63ec]
call fcn.004174a0
add esi, eax
cmp bp, si
jle 0x42b32b
push esi
lea ecx, [esp + 0x24]
call fcn.0046ee40
push 0
lea ecx, [esp + 0x28]
mov bl, al
call fcn.0046ee40
push 0
lea ecx, [esp + 0x28]
and bl, al
call fcn.0046ee40
cmp bl, al
jne 0x42b32b
mov ecx, dword [esp + 0x78]
push 0
add ecx, 0x1c
call fcn.0046ee40
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
jmp 0x42b318
mov eax, dword [esp + 0x78]
push 0
lea ecx, [eax + 0x1c]
call fcn.0046ee40
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
lea edx, [esp + 0x20]
push edx
call fcn.0046eb30
mov ecx, dword [esp + 0x38]
call fcn.0042b440
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
inc eax
xor ebp, ebp
mov dword [esp + 0x38], eax
jmp 0x42b07c
mov eax, dword [edi + 0xc]
cmp eax, ebp
jne 0x42b34a
xor ebx, ebx
jmp 0x42b352
mov ebx, dword [edi + 0x10]
sub ebx, eax
sar ebx, 3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 9
call fcn.0046ec60
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 8
call fcn.0046ec60
lea ecx, [esp + 0x2c]
mov byte [esp + 0x6c], 7
call fcn.0046ec60
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 6
call fcn.0046ec60
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 5
call fcn.0046ec60
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 4
call fcn.0046ec60
mov eax, dword [esp + 0x58]
push eax
call fcn.0048d500
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov byte [esp + 0x6c], 2
call fcn.0046ec60
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 1
call fcn.0046ec60
lea ecx, [esp + 0x40]
mov byte [esp + 0x6c], 0
call fcn.0046ec60
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
cmp esi, eax
mov dword [esp + 0x6c], 0xffffffff
mov edi, eax
je 0x42b411
mov ecx, esi
call fcn.0046ec60
add esi, 4
cmp esi, edi
jne 0x42b3ff
mov esi, dword [esp + 0x78]
push esi
call fcn.0048d500
add esp, 4
mov ax, bx
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x60
ret 0x14