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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x5c
mov dword [esp + 8], edx
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
mov edx, dword [0xbcbae0]
xor edx, esp
mov dword [esp + 0x58], edx
mov edx, dword [ecx + 0x160]
cmp dword [ecx + 0x90], esi
jne 0x88247b
lea edi, [ecx + 0x11c]
lea ebx, [ecx + 0x120]
jmp 0x882484
mov edi, dword [ecx + 0x128]
lea ebx, [edi + 4]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x78]
mov dword [edi], eax
lea eax, [ecx + 0x19c]
mov dword [esp + 0x14], edx
mov dword [esp + 4], ecx
mov dword [esp], edi
mov dword [esp + 0x10], eax
lea eax, [edx + 0x50]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], eax
push ecx
push ebx
push eax
push esi
call dword [esi + 4]
add esp, 0x10
mov edi, eax
cmp eax, 0xfffffffd
je 0x8824cc
cmp edi, 0xfffffffb
jne 0x8824df
mov eax, dword [esp + 0x74]
cmp byte [esp + 0x80], 0
mov esi, eax
cmove esi, ebx
jmp 0x8824e7
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 4]
mov edx, edi
push dword [esp + 0x84]
push esi
push eax
call fcn.00880800
add esp, 0xc
test al, al
jne 0x88250c
mov ebp, 0x2b
jmp case.0x88252b.12
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0xc]
add edi, 5
cmp edi, 0x12
mov dword [ecx], eax
ja case.default.0x88252b
mov esi, dword [esp + 4]
mov ebp, 0x11
jmp dword [edi*4 + 0xb53d84]
cmp byte [esp + 0x80], 0
je 0x882545
mov eax, dword [esp + 0x74]
jmp 0x882f45
mov eax, dword [esp + 0xc]
mov dword [eax], ebx
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x88256c
mov byte [esp + 0x4f], 0xa
lea ecx, [esp + 0x4f]
push 1
push ecx
push dword [esi + 4]
call eax
add esp, 0xc
mov edi, dword [esp + 8]
jmp 0x882589
cmp dword [esi + 0x50], 0
mov edi, dword [esp + 8]
je 0x882589
mov edx, dword [esp + 0x70]
mov ecx, esi
push ebx
push dword [esp + 0x78]
call fcn.0087db00
add esp, 8
test edi, edi
jne 0x882597
mov ebp, 3
jmp case.0x88252b.12
cmp dword [esi + 0x134], edi
mov ebp, 0xd
jne case.0x88252b.12
mov eax, dword [esp + 0x7c]
mov dword [eax], ebx
jmp 0x882f4b
cmp byte [esp + 0x80], 0
jne 0x88253c
mov eax, dword [esp + 8]
test eax, eax
jg 0x8825d3
mov ebp, 3
jmp case.0x88252b.12
cmp dword [esi + 0x134], eax
mov ebp, 0xd
je 0x88253c
jmp case.0x88252b.12
mov ecx, dword [esp]
mov ebp, 4
mov dword [ecx], eax
jmp case.0x88252b.12
cmp byte [esp + 0x80], 0
jne 0x88253c
mov ebp, 5
jmp case.0x88252b.12
cmp byte [esp + 0x80], 0
jne 0x88253c
mov ebp, 6
jmp case.0x88252b.12
mov edi, dword [esp + 0x70]
mov ecx, dword [edi + 0x40]
sub eax, ecx
add ecx, dword [esp + 0x74]
push eax
push ecx
push edi
call dword [edi + 0x2c]
add esp, 0xc
test al, al
mov byte [esp + 0x4e], al
je 0x88269d
mov ecx, esi
mov edx, 9
push 1
lea eax, [esp + 0x53]
push eax
mov ebx, esi
lea esi, [esp + 0x56]
push esi
call fcn.00880800
add esp, 0xc
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x88267f
push 1
push esi
push dword [ebx + 4]
call eax
add esp, 0xc
mov edi, dword [esp]
mov esi, ebx
jmp 0x882f14
cmp dword [ebx + 0x50], 0
mov edi, dword [esp]
mov esi, ebx
je 0x882f14
mov edx, dword [esp + 0x70]
mov ecx, esi
push dword [esp + 0x50]
jmp 0x882f08
mov eax, dword [esp + 0x50]
mov esi, dword [edi + 0x40]
mov ecx, dword [esp + 0x18]
mov edx, edi
sub eax, esi
add esi, dword [esp + 0x74]
push eax
push esi
call fcn.00880b90
add esp, 8
mov ebp, 1
test eax, eax
je case.0x88252b.12
mov ecx, dword [esp + 4]
mov esi, dword [esp + 0x14]
mov edi, eax
mov ebx, ecx
mov edx, esi
push 0
push eax
call fcn.00880be0
add esp, 8
mov ecx, dword [esi + 0x60]
mov edx, eax
mov dword [esi + 0x5c], ecx
cmp byte [esi + 0x81], 0
je 0x8826fa
cmp byte [esi + 0x82], 0
je 0x882718
test edx, edx
jne 0x882708
mov ebp, 0xb
jmp case.0x88252b.12
cmp byte [edx + 0x22], 0
jne 0x88274a
mov ebp, 0x18
jmp case.0x88252b.12
test edx, edx
jne 0x88274a
mov eax, dword [ebx + 0x78]
mov esi, ebx
test eax, eax
je 0x882738
push 0
push edi
push dword [esi + 4]
call eax
add esp, 0xc
mov edi, dword [esp]
jmp 0x882f14
cmp dword [esi + 0x50], 0
mov edi, dword [esp]
jne 0x88268e
jmp 0x882f14
cmp byte [edx + 0x20], 0
je 0x88275a
mov ebp, 0xc
jmp case.0x88252b.12
cmp dword [edx + 0x1c], 0
je 0x88276a
mov ebp, 0xf
jmp case.0x88252b.12
cmp dword [edx + 4], 0
je 0x8827c3
cmp byte [ebx + 0x130], 0
mov esi, ebx
jne 0x8827a5
mov eax, dword [esi + 0x78]
mov edi, dword [esp]
test eax, eax
je 0x882796
push 0
push dword [edx]
push dword [esi + 4]
call eax
add esp, 0xc
jmp 0x882f14
cmp dword [esi + 0x50], 0
jne 0x88268e
jmp 0x882f14
mov ecx, esi
push 0
call fcn.00881bf0
add esp, 4
mov edi, dword [esp]
test eax, eax
je 0x882f14
mov ebp, eax
jmp case.0x88252b.12
cmp dword [ebx + 0x70], 0
mov esi, ebx
je 0x882738
mov ecx, esi
mov byte [edx + 0x20], 1
mov edi, edx
call fcn.00883030
test eax, eax
mov byte [edi + 0x20], 0
je case.0x88252b.12
push dword [edi + 0x18]
push dword [edi + 0x10]
push dword [edi + 0x14]
push eax
push dword [esi + 0x74]
call dword [esi + 0x70]
add esp, 0x14
test eax, eax
jne 0x882809
mov ebp, 0x15
jmp case.0x88252b.12
mov eax, dword [esi + 0x1ac]
mov edi, dword [esp]
mov dword [esi + 0x1a8], eax
jmp 0x882f14
mov edi, dword [esi + 0x16c]
test edi, edi
je 0x882831
mov eax, dword [edi]
mov dword [esi + 0x16c], eax
jmp 0x882869
push 0x30
call dword [esi + 0xc]
add esp, 4
mov ebp, 1
test eax, eax
je case.0x88252b.12
mov edi, eax
push 0x20
call dword [esi + 0xc]
add esp, 4
test eax, eax
mov dword [edi + 0x24], eax
jne 0x882863
push edi
call dword [esi + 0x14]
add esp, 4
jmp case.0x88252b.12
add eax, 0x20
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], 0
mov ebx, esi
mov eax, dword [esi + 0x168]
mov dword [edi], eax
mov dword [esi + 0x168], edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
add eax, dword [esi + 0x40]
mov dword [edi + 4], eax
push eax
push esi
call dword [esi + 0x1c]
add esp, 8
mov dword [edi + 8], eax
inc dword [ebx + 0x134]
mov eax, dword [edi + 4]
mov ebp, dword [edi + 8]
mov dword [esp + 0x44], eax
add ebp, eax
mov eax, dword [edi + 0x24]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x28]
dec eax
push eax
lea eax, [esp + 0x4c]
push eax
push ebp
lea eax, [esp + 0x50]
push eax
push esi
call dword [esi + 0x38]
add esp, 0x14
mov esi, dword [esp + 0x48]
mov ecx, dword [edi + 0x24]
mov ebx, esi
sub ebx, ecx
cmp eax, 1
je 0x88293a
cmp dword [esp + 0x44], ebp
jae 0x88293a
mov esi, dword [edi + 0x28]
sub esi, ecx
add esi, esi
push esi
push ecx
mov eax, dword [esp + 0xc]
call dword [eax + 0x10]
add esp, 8
test eax, eax
jne 0x88290e
mov ebp, 1
jmp case.0x88252b.12
mov dword [edi + 0x24], eax
lea ecx, [eax + esi]
add ebx, eax
lea eax, [eax + esi - 1]
mov dword [edi + 0x28], ecx
mov dword [esp + 0x48], ebx
push eax
lea eax, [esp + 0x4c]
push eax
push ebp
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x80]
push eax
call dword [eax + 0x38]
jmp 0x8828d4
mov dword [edi + 0x18], ebx
mov dword [edi + 0xc], ecx
mov byte [esi], 0
mov esi, dword [esp + 4]
mov edx, dword [esp + 0x70]
lea eax, [edi + 0x2c]
lea edi, [edi + 0xc]
mov ecx, esi
push dword [esp + 0x84]
push eax
push edi
push dword [esp + 0x80]
call fcn.00883380
add esp, 0x10
test eax, eax
je 0x882976
mov ebp, eax
jmp case.0x88252b.12
mov eax, dword [esi + 0x34]
test eax, eax
je 0x882992
push dword [esi + 0x184]
push dword [edi]
push dword [esi + 4]
call eax
add esp, 0xc
mov edi, dword [esp]
jmp 0x8829b1
cmp dword [esi + 0x50], 0
mov edi, dword [esp]
je 0x8829b1
mov edx, dword [esp + 0x70]
mov ecx, esi
push dword [esp + 0x50]
push dword [esp + 0x78]
call fcn.0087db00
add esp, 8
mov ecx, dword [esp + 0x10]
call fcn.0087c9f0
jmp 0x882f14
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x70]
add esi, dword [edi + 0x40]
mov dword [esp + 0x40], 0
push esi
push edi
call dword [edi + 0x1c]
add esp, 8
mov ecx, dword [esp + 0x10]
add eax, esi
mov edx, edi
push eax
push esi
call fcn.00880b90
add esp, 8
test eax, eax
mov dword [esp + 0x28], eax
jne 0x8829fe
mov ebp, 1
jmp case.0x88252b.12
mov esi, dword [esp + 4]
mov edx, edi
mov eax, dword [esi + 0x1a8]
mov ecx, esi
mov dword [esi + 0x1ac], eax
push 2
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x80]
call fcn.00883380
add esp, 0x10
test eax, eax
je 0x882a43
mov edx, dword [esp + 0x40]
mov ecx, esi
mov ebp, eax
call fcn.00883ee0
jmp case.0x88252b.12
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x1a8]
test eax, eax
mov dword [esi + 0x1ac], ecx
jne 0x882a5d
mov ecx, 1
jmp 0x882a71
push dword [esi + 0x184]
push dword [esp + 0x2c]
push dword [esi + 4]
call eax
add esp, 0xc
xor ecx, ecx
mov eax, dword [esi + 0x38]
mov edi, dword [esp]
mov edx, dword [esp + 0x70]
test eax, eax
je 0x882a9b
cmp dword [esi + 0x34], 0
je 0x882a90
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [edi], eax
mov eax, dword [esi + 0x38]
push dword [esp + 0x28]
push dword [esi + 4]
call eax
jmp 0x882ab4
test ecx, ecx
je 0x882ab7
cmp dword [esi + 0x50], 0
je 0x882ab7
mov ecx, esi
push dword [esp + 0x50]
push dword [esp + 0x78]
call fcn.0087db00
add esp, 8
mov ecx, dword [esp + 0x10]
call fcn.0087c9f0
mov edx, dword [esp + 0x40]
mov ecx, esi
call fcn.00883ee0
cmp dword [esi + 0x134], 0
jne 0x882f14
mov eax, dword [esi + 0x1dc]
cmp eax, 2
je 0x882f14
cmp eax, 3
jne 0x882c64
mov dword [esi + 0x114], fcn.00883f20
jmp 0x882f14
mov eax, dword [esp + 8]
cmp dword [esi + 0x134], eax
jne 0x882b15
mov ebp, 0xd
jmp case.0x88252b.12
mov ebp, dword [esp + 0x70]
mov edi, dword [esi + 0x168]
mov ebx, dword [ebp + 0x40]
add ebx, ebx
add ebx, dword [esp + 0x74]
push ebx
push ebp
call dword [ebp + 0x1c]
add esp, 8
cmp eax, dword [edi + 8]
jne 0x882b46
push eax
push ebx
push dword [edi + 4]
call fcn.0097f460
add esp, 0xc
test eax, eax
je 0x882b55
mov eax, dword [esp]
mov ebp, 7
mov dword [eax], ebx
jmp case.0x88252b.12
mov eax, dword [edi]
mov dword [esi + 0x168], eax
mov eax, dword [esi + 0x16c]
mov dword [edi], eax
mov dword [esi + 0x16c], edi
dec dword [esi + 0x134]
mov eax, dword [esi + 0x38]
test eax, eax
je 0x882bd9
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x882bcf
mov dl, byte [esi + 0xe8]
test dl, dl
je 0x882bcf
mov eax, dword [edi + 0xc]
mov dl, byte [ecx]
add eax, dword [edi + 0x1c]
jmp 0x882b9b
mov byte [eax], dl
inc eax
movzx edx, byte [ecx + 1]
inc ecx
test dl, dl
jne 0x882b93
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x882bc9
mov dl, byte [esi + 0xe9]
test dl, dl
je 0x882bc9
mov dl, byte [esi + 0x1d4]
mov byte [eax], dl
inc eax
mov dl, byte [ecx]
jmp 0x882bc5
mov byte [eax], dl
inc eax
movzx edx, byte [ecx + 1]
inc ecx
test dl, dl
jne 0x882bbd
mov byte [eax], 0
mov eax, dword [esi + 0x38]
push dword [edi + 0xc]
push dword [esi + 4]
call eax
jmp 0x882bf0
cmp dword [esi + 0x50], 0
je 0x882bf3
mov ecx, esi
mov edx, ebp
push dword [esp + 0x50]
push dword [esp + 0x78]
call fcn.0087db00
add esp, 8
mov ebx, dword [edi + 0x2c]
test ebx, ebx
je 0x882c31
mov eax, dword [esi + 0x68]
mov ecx, ebx
test eax, eax
je 0x882c12
mov ecx, dword [ebx]
push dword [ecx]
push dword [esi + 4]
call eax
add esp, 8
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx + 4]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x174]
mov dword [ebx + 4], eax
mov dword [esi + 0x174], ebx
mov eax, dword [ebx]
mov ecx, dword [ebx + 8]
mov dword [eax + 4], ecx
jmp 0x882bf3
cmp dword [esi + 0x134], 0
mov edi, dword [esp]
jne 0x882f14
mov eax, dword [esi + 0x1dc]
cmp eax, 2
je 0x882f14
cmp eax, 3
jne 0x882c64
mov dword [esi + 0x114], fcn.00883f20
jmp 0x882f14
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push dword [esp + 0x58]
push esi
call fcn.00883f20
add esp, 0x10
mov ebp, eax
jmp case.0x88252b.12
push dword [esp + 0x74]
mov eax, dword [esp + 0x74]
push eax
call dword [eax + 0x28]
add esp, 8
test eax, eax
jns 0x882c9d
mov ebp, 0xe
jmp case.0x88252b.12
mov edi, esi
mov esi, dword [esi + 0x3c]
test esi, esi
je 0x882cca
lea ecx, [esp + 0x54]
mov ebx, ecx
push ecx
push eax
call fcn.008852f0
add esp, 8
push eax
push ebx
push dword [edi + 4]
call esi
add esp, 0xc
mov esi, edi
mov edi, dword [esp]
jmp 0x882f14
cmp dword [edi + 0x50], 0
mov esi, edi
jmp 0x88273c
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x882ef8
mov byte [esp + 0x27], 0xa
push 1
lea eax, [esp + 0x2b]
push eax
push dword [esi + 4]
call ecx
jmp 0x88272d
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x882d0e
push dword [esi + 4]
call ecx
add esp, 4
mov edi, dword [esp]
mov ebp, dword [esp + 0x70]
jmp 0x882d2c
cmp dword [esi + 0x50], 0
mov edi, dword [esp]
mov ebp, dword [esp + 0x70]
je 0x882d2c
mov ecx, esi
mov edx, ebp
push eax
push dword [esp + 0x78]
call fcn.0087db00
add esp, 8
movzx eax, byte [esp + 0x80]
mov ecx, esi
mov edx, ebp
push dword [esp + 0x84]
push eax
push dword [esp + 0x84]
push ebx
lea eax, [esp + 0x60]
push eax
call fcn.008840a0
add esp, 0x14
test eax, eax
je 0x882d60
mov ebp, eax
jmp case.0x88252b.12
cmp dword [esp + 0x50], 0
jne 0x882f14
mov dword [esi + 0x114], 0x8842e0
jmp 0x882f4b
cmp byte [esp + 0x80], 0
jne 0x88253c
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x882de6
mov ecx, dword [esp + 0x70]
mov edi, dword [esp + 8]
cmp byte [ecx + 0x44], 0
jne 0x882dd2
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push dword [esi + 0x30]
push eax
push ebx
lea eax, [esp + 0x80]
push eax
push ecx
call dword [ecx + 0x38]
add esp, 0x14
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x2c]
sub eax, ecx
push eax
push ecx
push dword [esi + 4]
call dword [esi + 0x3c]
add esp, 0xc
jmp 0x882e03
mov ecx, dword [esp + 0x74]
mov edx, ebx
sub edx, ecx
push edx
push ecx
push dword [esi + 4]
call eax
add esp, 0xc
jmp 0x882e03
cmp dword [esi + 0x50], 0
mov edi, dword [esp + 8]
mov edx, dword [esp + 0x70]
je 0x882e03
mov ecx, esi
push ebx
push dword [esp + 0x78]
call fcn.0087db00
add esp, 8
test edi, edi
jne 0x882e16
mov eax, dword [esp]
mov ebp, 3
mov dword [eax], ebx
jmp case.0x88252b.12
cmp dword [esi + 0x134], edi
je 0x8825a8
mov eax, dword [esp]
mov ebp, 0xd
mov dword [eax], ebx
jmp case.0x88252b.12
mov ebx, dword [esi + 0x3c]
test ebx, ebx
je 0x882ef8
mov edx, dword [esp + 0x70]
cmp byte [edx + 0x44], 0
jne 0x882ea0
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x1c], ecx
push dword [esi + 0x30]
lea ecx, [esp + 0x20]
push ecx
push eax
lea eax, [esp + 0x80]
push eax
push edx
call dword [edx + 0x38]
add esp, 0x14
mov edi, eax
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x2c]
sub eax, ecx
push eax
push ecx
push dword [esi + 4]
call ebx
add esp, 0xc
cmp edi, 2
mov edi, dword [esp]
jb 0x882f14
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov dword [edi], eax
mov eax, dword [esp + 0x50]
jmp 0x882e46
mov ecx, dword [esp + 0x74]
sub eax, ecx
push eax
push ecx
push dword [esi + 4]
call ebx
jmp 0x88272d
mov edx, dword [esp + 0x70]
mov ecx, esi
push eax
push dword [esp + 0x78]
call fcn.00881f00
add esp, 8
mov edi, dword [esp]
test eax, eax
jne 0x882f14
mov ebp, 1
jmp case.0x88252b.12
mov edx, dword [esp + 0x70]
mov ecx, esi
push eax
push dword [esp + 0x78]
call fcn.00881fd0
add esp, 8
mov edi, dword [esp]
test eax, eax
jne 0x882f14
mov ebp, 1
jmp case.0x88252b.12
mov esi, dword [esp + 4]
cmp dword [esi + 0x50], 0
mov edi, dword [esp]
je 0x882f14
mov edx, dword [esp + 0x70]
mov ecx, esi
push eax
push dword [esp + 0x78]
call fcn.0087db00
add esp, 8
mov eax, dword [esp + 0x50]
mov dword [esp + 0x74], eax
mov dword [edi], eax
mov eax, dword [esi + 0x1dc]
cmp eax, 2
jne 0x882f30
mov ebp, 0x23
jmp case.0x88252b.12
mov ebx, dword [esp + 0x78]
mov esi, dword [esp + 0x70]
cmp eax, 3
jne 0x8824aa
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x7c]
mov dword [ecx], eax
xor ebp, ebp
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00980459
mov eax, ebp
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret