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

Disassembly:
sub esp, 0x11c
cmp word [0x4558ccc], 0
mov dword [esp + 0x14], 0x6644
mov dword [esp + 0x18], 0x6645
mov dword [esp + 0xc], 0x6646
mov dword [esp + 0x10], 0x6647
jne 0x42d924
mov eax, 0xfffffffe
push 0xffffffffffffffff
push 0
mov dword [0x4553f38], eax
push 0x1ac
push 0x1b0
mov dword [0x4553f3c], eax
push 0xe
push 0x68
mov dword [0x4553f40], eax
mov dword [0x4556674], 0x1b0
mov dword [0x455409c], 0x1ac
mov dword [0x4552b40], 0x68
mov dword [0x4556270], 0xe
call fcn.00448610
add esp, 0x18
inc word [0x4558ccc]
mov dword [0x455ef98], eax
jmp 0x42d929
mov eax, dword [0x455ef98]
push ebx
push ebp
push esi
push edi
test eax, eax
je 0x42ded0
mov ecx, dword [eax + 0x78]
mov edi, 1
or esi, 0xffffffff
cmp ecx, edi
mov ebx, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], esi
jl 0x42da2c
push 3
push 0x4553f38
call fcn.00421020
push 3
push 0x4553f38
mov ebx, eax
call fcn.00421050
movsx esi, word [0x454f400]
shl esi, 3
mov ecx, esi
add esp, 0x10
shl ecx, 4
xor edi, edi
add ecx, esi
mov dword [esp + 0x14], eax
lea ebp, [ecx*8 + 0x455b5d4]
mov al, byte [ebp + 0xc]
test al, al
je 0x42da0d
mov ecx, dword [0x4556270]
mov edx, dword [0x4552b40]
push 0x6b
lea ecx, [edi + ecx + 0x74]
lea eax, [edx + 0x20]
lea edx, [ecx + 0x14]
push edx
lea edx, [eax + 0x174]
push edx
push ecx
push eax
call fcn.0044aba0
add esp, 0x14
test eax, eax
je 0x42da0d
test byte [0x45f1bc4], 1
je 0x42da09
mov eax, dword [ebp]
mov ecx, dword [0x462bee8]
cmp eax, ecx
jg 0x42d9f2
cmp word [ebp + 8], 0
jne 0x42d9f2
mov eax, dword [0x4558c98]
test eax, eax
jle 0x42d9f2
mov dword [esp + 0x10], esi
jmp 0x42da09
push 0xf0
push 0x140
push 0xdc
call fcn.00488190
add esp, 0xc
mov dword [esp + 0x18], esi
add ebp, 0x88
add edi, 0x15
inc esi
cmp edi, 0xa8
jl 0x42d991
mov esi, dword [esp + 0x10]
mov edi, 1
mov ecx, dword [0x4ebe488]
mov eax, 0x400
test eax, ecx
je 0x42da4f
mov ecx, dword [0x4ebe4a0]
xor ebp, ebp
test eax, ecx
mov dword [esp + 0x14], ebp
je 0x42da59
xor ebx, ebx
jmp 0x42da59
mov eax, dword [esp + 0x14]
xor ebp, ebp
cmp eax, ebp
jne 0x42da8a
cmp ebx, ebp
mov dword [esp + 0x10], edi
jne 0x42da8e
cmp word [0x454f400], bp
jle 0x42da8e
dec word [0x454f400]
push 0xf0
push 0x140
push 0xd9
call fcn.00488190
add esp, 0xc
jmp 0x42da8e
mov dword [esp + 0x10], ebp
mov ecx, dword [0x4ebe488]
mov eax, 0x100
test eax, ecx
je 0x42daa9
test dword [0x4ebe4a0], eax
je 0x42daaf
mov ebx, edi
jmp 0x42daaf
cmp dword [esp + 0x14], edi
jne 0x42dae6
cmp ebx, edi
mov ebp, edi
jne 0x42dae6
movsx ecx, word [0x454f400]
movsx edx, word [0x455b370]
inc ecx
cmp ecx, edx
jge 0x42dae6
inc word [0x454f400]
push 0xf0
push 0x140
push 0xd9
call fcn.00488190
add esp, 0xc
call fcn.0044b030
test eax, eax
jne 0x42db1e
test dword [0x4ebe490], 0x80000000
jne 0x42db1e
cmp word [0x5676a0], di
je 0x42db1e
cmp word [0x564e62], di
je 0x42db1e
cmp dword [0x461b420], edi
je 0x42db1e
cmp word [0x455ef9c], di
jne 0x42db31
mov word [0x455ef9c], 0
mov esi, 0x64
jmp 0x42defb
cmp ebx, 2
jge 0x42dee0
test esi, esi
jge 0x42dedd
mov eax, dword [0x455ef98]
cmp dword [eax + 0x78], edi
jl 0x42ded0
mov ecx, dword [0x4556270]
push 0
push 0x45529ec
push 0
add ecx, 0x12
push edi
push ecx
mov edi, 0x45529ec
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, dword [0x4556674]
shr ecx, 1
mov edx, ecx
mov esi, dword [0x4552b40]
shl edx, 4
add edx, ecx
sub eax, edx
shr eax, 1
add eax, esi
push eax
call fcn.0041d860
mov eax, dword [0x4558c98]
add esp, 0x18
test eax, eax
jle 0x42dbde
xor edi, edi
mov esi, 0x454e110
cmp byte [esi], 0
je 0x42dbce
mov ecx, dword [0x4556270]
mov eax, dword [0x4552b40]
push 0
push esi
push 0
lea edx, [edi + ecx + 0x30]
push 1
add eax, 0x12
push edx
push eax
call fcn.0041d860
add esp, 0x18
add esi, 0x2d
add edi, 0x12
cmp esi, 0x454e16a
jl 0x42dba6
jmp 0x42dc1b
xor edi, edi
mov esi, 0x4556428
cmp byte [esi], 0
je 0x42dc0d
mov ecx, dword [0x4556270]
mov eax, dword [0x4552b40]
push 0
push esi
push 0
lea edx, [edi + ecx + 0x30]
push 1
add eax, 0x12
push edx
push eax
call fcn.0041d860
add esp, 0x18
add esi, 0x27
add edi, 0x12
cmp esi, 0x4556476
jl 0x42dbe5
mov ecx, dword [0x462bee8]
lea edx, [esp + 0x2c]
push ecx
push 0x4b9324
push edx
call fcn.004923a7
mov ecx, dword [0x4556270]
mov edx, dword [0x4552b40]
lea eax, [esp + 0x38]
push 0
push eax
push 0
add ecx, 0x54
push 1
add edx, 0xf4
push ecx
push edx
call fcn.0041d860
mov eax, dword [esp + 0x34]
mov edx, dword [0x4556270]
push 2
add edx, 0x64
mov ecx, dword [esp + eax*4 + 0x4c]
mov eax, dword [0x4552b40]
push ecx
push 0x69
add eax, 0x20
push edx
push eax
call fcn.0047e210
mov ecx, dword [esp + ebp*4 + 0x54]
mov edx, dword [0x4556270]
mov dword [0x4553f38], eax
mov eax, dword [0x4552b40]
push 2
push ecx
add edx, 0x64
push 0x69
add eax, 0xc8
push edx
push eax
call fcn.0047e210
movsx edx, word [0x454f400]
movsx ecx, word [0x455b370]
add esp, 0x4c
inc edx
mov dword [0x4553f3c], eax
lea eax, [esp + 0x2c]
push ecx
push edx
push str._2d__2d_
push eax
call fcn.004923a7
mov edx, dword [0x4556270]
mov eax, dword [0x4552b40]
lea ecx, [esp + 0x3c]
push 0
push ecx
push 0
add edx, 0x5c
push 1
add eax, 0x42
push edx
push eax
call fcn.0041d860
movsx eax, word [0x454f400]
shl eax, 3
mov ecx, eax
add esp, 0x28
shl ecx, 4
xor ebp, ebp
add ecx, eax
lea esi, [ecx*8 + 0x455b5e0]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x42dde2
xor edi, edi
cmp word [esi - 4], di
je 0x42dd2c
mov edi, 7
mov edx, dword [esi - 0xc]
mov eax, dword [0x462bee8]
cmp edx, eax
jle 0x42dd3d
mov edi, 7
mov eax, dword [0x4558c98]
test eax, eax
jg 0x42dd4b
mov edi, 7
mov eax, dword [0x4556270]
mov edx, dword [0x4552b40]
push 0
push esi
push edi
lea ecx, [eax + ebp + 0x76]
push 1
add edx, 0x22
push ecx
push edx
call fcn.0041d860
mov eax, dword [esi + 0x74]
lea ecx, [esp + 0x44]
push eax
push 0x4b9360
push ecx
call fcn.004923a7
mov eax, dword [0x4556270]
lea edx, [esp + 0x50]
push 0
push edx
mov edx, dword [0x4552b40]
push edi
lea ecx, [eax + ebp + 0x76]
push 1
add edx, 0x11c
push ecx
push edx
call fcn.0041d860
mov eax, dword [esi - 0xc]
lea ecx, [esp + 0x68]
push eax
push 0x4b92ec
push ecx
call fcn.004923a7
mov eax, dword [0x4556270]
add esp, 0x48
lea edx, [esp + 0x2c]
push 0
push edx
mov edx, dword [0x4552b40]
push edi
lea ecx, [eax + ebp + 0x76]
push 1
add edx, 0x138
push ecx
push edx
call fcn.0041d860
add esp, 0x18
add ebp, 0x15
add esi, 0x88
cmp ebp, 0xa8
jl 0x42dd0d
mov eax, dword [esp + 0x18]
test eax, eax
jl 0x42de6c
mov edi, eax
mov ecx, dword [0x4556270]
shl edi, 4
mov edx, dword [0x4552b40]
add edi, eax
shl edi, 3
push 0
add ecx, 0x15e
mov eax, dword [edi + 0x455b5d8]
add edx, 0x40
push eax
push 0x69
push ecx
push edx
call fcn.0047e210
add esp, 0x14
xor esi, esi
lea edi, [edi + 0x455b5fd]
mov eax, dword [0x4556270]
mov edx, dword [0x4552b40]
push 0
push edi
push 0
lea ecx, [esi + eax + 0x134]
push 1
add edx, 0x78
push ecx
push edx
call fcn.0041d860
add esi, 0x14
add esp, 0x18
add edi, 0x1d
cmp esi, 0x3c
jl 0x42de3b
mov eax, dword [0x4556270]
mov ecx, dword [0x4552b40]
push 2
push 0x65bb
add eax, 0x192
push 0x69
add ecx, 0xd8
push eax
push ecx
call fcn.0047e210
mov edx, dword [0x54bdd0]
mov dword [0x4553f40], eax
mov eax, dword [0x455409c]
mov ebp, dword [0x4556270]
push 1
push edx
cdq
sub eax, edx
push 0x68
sar eax, 1
add eax, ebp
push eax
mov eax, dword [0x4556674]
cdq
sub eax, edx
mov edx, dword [0x4552b40]
sar eax, 1
add eax, edx
push eax
call fcn.0047e210
add esp, 0x28
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x11c
ret
cmp ebx, 2
jne 0x42dee6
mov esi, edi
jmp 0x42defb
cmp ebx, 0x64
jne 0x42deef
mov esi, ebx
jmp 0x42defb
mov word [0x454f25c], si
mov esi, 2
mov eax, dword [0x455ef98]
push eax
call fcn.004011c0
add esp, 4
cmp esi, 0x64
mov dword [0x455ef98], 0
jne 0x42df22
mov dword [0x4b83ec], 0xffffffff
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c
ret