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

Disassembly:
sub esp, 0x3c
mov eax, dword [esp + 0x44]
push ebx
push ebp
push esi
push edi
xor edi, edi
cmp dword [eax], edi
mov dword [esp + 0x10], edi
je 0x1024b967
mov ecx, dword [eax + 0x34]
and cl, 3
cmp cl, 1
jne 0x1024b967
mov ebx, 1
jmp 0x1024b969
xor ebx, ebx
xor edx, edx
xor ebp, ebp
cmp dword [eax + 0x74], edi
mov dword [esp + 0x14], ebx
setne dl
xor ecx, ecx
xor esi, esi
cmp dword [eax + 0x38], edi
mov dword [esp + 0x28], ebp
setne cl
mov dword [esp + 0x30], edx
xor edx, edx
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x5c]
cmp dword [ecx + 0x38], edx
setne dl
cmp dword [0x10c881a0], esi
mov dword [esp + 0x34], edx
jne 0x1024b9b8
call fcn.10256a50
mov eax, dword [esp + 0x54]
mov dword [0x10c881a0], 1
mov edx, dword [esp + 0x5c]
mov edx, dword [edx]
mov ecx, dword [edx + 0x18]
add dword [esp + 0x70], ecx
mov ecx, dword [edx + 0x1c]
add dword [esp + 0x74], ecx
mov ecx, dword [eax]
test ecx, ecx
je 0x1024b9e0
mov eax, dword [ecx + 0x18]
add dword [esp + 0x60], eax
mov eax, dword [ecx + 0x1c]
add dword [esp + 0x64], eax
test ebx, ebx
je 0x1024b9fd
cmp dword [esp + 0x30], esi
je 0x1024b9fd
mov eax, 1
cmp dword [ecx + 4], eax
jne 0x1024b9fd
cmp dword [ecx + 8], eax
jne 0x1024b9fd
mov dword [esp + 0x30], esi
cmp dword [esp + 0x58], esi
je 0x1024ba6a
mov eax, dword [esp + 0x58]
mov eax, dword [eax]
test eax, eax
je 0x1024ba6a
mov esi, dword [eax + 0x18]
add dword [esp + 0x68], esi
mov esi, dword [eax + 0x1c]
add dword [esp + 0x6c], esi
mov esi, dword [esp + 0x58]
mov ebx, dword [esi + 0x34]
and bl, 3
sub bl, 1
neg bl
mov edi, dword [esp + 0x58]
sbb ebx, ebx
add ebx, 1
mov ebp, ebx
xor ebx, ebx
cmp dword [esi + 0x74], ebx
mov dword [esp + 0x28], ebp
setne bl
mov esi, ebx
xor ebx, ebx
cmp dword [edi + 0x38], ebx
setne bl
test ebp, ebp
mov edi, ebx
je 0x1024ba66
test esi, esi
je 0x1024ba66
mov ebx, 1
cmp dword [eax + 4], ebx
jne 0x1024ba66
cmp dword [eax + 8], ebx
jne 0x1024ba66
xor esi, esi
mov ebx, dword [esp + 0x14]
test ecx, ecx
je case.0x1024bac9.1
mov eax, dword [esp + 0x58]
test eax, eax
je 0x1024ba83
cmp dword [eax], 0
je case.0x1024bac9.1
cmp dword [esp + 0x30], 0
jne case.0x1024bac9.1
test esi, esi
jne case.0x1024bac9.1
test edi, edi
jne case.0x1024bac9.1
cmp dword [esp + 0x38], edi
jne case.0x1024bac9.1
cmp dword [esp + 0x34], edi
jne case.0x1024bac9.1
mov eax, dword [esp + 0x50]
add eax, 0xffffffff
cmp eax, 0xb
ja case.0x1024bac9.1
movzx eax, byte [eax + 0x1024c5e4]
jmp dword [eax*4 + 0x1024c5d0]
mov edi, dword [esp + 0x58]
xor esi, esi
cmp edi, esi
je 0x1024bf25
cmp ebx, esi
mov edx, 1
je 0x1024bcfe
cmp dword [ecx + 4], edx
jne 0x1024bcfe
cmp dword [ecx + 8], edx
jne 0x1024bcfe
mov ebp, dword [esp + 0x54]
test byte [ebp + 0x2e], 2
je 0x1024bce6
mov eax, dword [edi + 0x2c]
cmp eax, 0x20028888
jg 0x1024bc9b
je 0x1024bc35
cmp eax, 0x1011000
je 0x1024bbd7
cmp eax, 0x8018000
jne 0x1024bce6
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx + 0x2c]
cmp eax, 0x20020888
jg 0x1024bb9b
je 0x1024bbb4
cmp eax, 0x18020888
jg 0x1024bb83
je 0x1024bb8e
cmp eax, 0x10020565
je 0x1024bb60
cmp eax, 0x10030565
jne 0x1024bce6
call fcn.1024c730
test eax, eax
je 0x1024bb76
mov dword [esp + 0x10], 0x10259e90
jmp 0x1024bce6
mov dword [esp + 0x10], 0x10249250
jmp 0x1024bce6
cmp eax, 0x18030888
jne 0x1024bce6
mov dword [esp + 0x10], 0x10248eb0
jmp 0x1024bce6
cmp eax, 0x20028888
je 0x1024bbb4
cmp eax, 0x20030888
je 0x1024bbb4
cmp eax, 0x20038888
jne 0x1024bce6
call fcn.1024c730
test eax, eax
je 0x1024bbca
mov dword [esp + 0x10], 0x10259270
jmp 0x1024bce6
mov dword [esp + 0x10], 0x102487f0
jmp 0x1024bce6
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 0x2c]
cmp eax, 0x20020888
jg 0x1024bc0f
je 0x1024bc28
cmp eax, 0x18020888
jg 0x1024bc03
je 0x1024bc28
cmp eax, 0x10020565
je 0x1024bc28
cmp eax, 0x10030565
je 0x1024bc28
jmp 0x1024bce6
cmp eax, 0x18030888
je 0x1024bc28
jmp 0x1024bce6
cmp eax, 0x20028888
je 0x1024bc28
cmp eax, 0x20030888
je 0x1024bc28
cmp eax, 0x20038888
jne 0x1024bce6
mov dword [esp + 0x10], 0x1024aa60
jmp 0x1024bce6
test dword [edi + 0x34], 0x400
je 0x1024bc8e
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x2c]
cmp eax, 0x10020565
je 0x1024bc7b
cmp eax, 0x20020888
je 0x1024bc5e
cmp eax, 0x20028888
jne 0x1024bce6
call fcn.1024c730
test eax, eax
je 0x1024bc71
mov dword [esp + 0x10], 0x10257480
jmp 0x1024bce6
mov dword [esp + 0x10], 0x10248a40
jmp 0x1024bce6
call fcn.1024c730
test eax, eax
je 0x1024bcc7
mov dword [esp + 0x10], 0x1025b9b0
jmp 0x1024bce6
mov ecx, dword [esp + 0x5c]
cmp dword [ecx + 0x2c], 0x10020565
jmp 0x1024bcdc
cmp eax, 0x20038888
jne 0x1024bce6
test dword [edi + 0x34], 0x400
je 0x1024bcd1
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 0x2c]
cmp eax, 0x10030565
je 0x1024bc7b
cmp eax, 0x20030888
je 0x1024bc5e
cmp eax, 0x20038888
jmp 0x1024bc58
mov dword [esp + 0x10], 0x10249990
jmp 0x1024bce6
mov eax, dword [esp + 0x5c]
cmp dword [eax + 0x2c], 0x10030565
jne 0x1024bce6
mov dword [esp + 0x10], 0x102495d0
mov eax, dword [esp + 0x10]
cmp eax, 0x102651b0
je 0x1024c2cb
mov dword [esp + 0x14], esi
jmp 0x1024c2cb
mov eax, dword [edi]
cmp ecx, eax
jne 0x1024bdde
mov ecx, dword [esp + 0x60]
cmp ecx, dword [esp + 0x68]
jne 0x1024bdde
mov ecx, dword [esp + 0x64]
cmp ecx, dword [esp + 0x6c]
jne 0x1024bdde
test dword [edi + 0x34], 0x400
jne 0x1024bdde
mov ebp, dword [esp + 0x54]
mov eax, dword [ebp + 0x2c]
cmp eax, 0x20020888
je 0x1024bdad
cmp eax, 0x20030888
jne case.0x1024bac9.1
mov eax, dword [edi + 0x2c]
cmp eax, 0x20028888
je 0x1024bd5f
cmp eax, 0x20038888
jne case.0x1024bac9.1
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 0x2c]
cmp eax, 0x10020565
je 0x1024bd96
cmp eax, 0x20020888
je 0x1024bd7f
cmp eax, 0x20028888
jne case.0x1024bac9.1
call fcn.1024c730
test eax, eax
je case.0x1024bac9.1
mov eax, 0x1025b4a0
jmp 0x1024c2c7
call fcn.1024c730
test eax, eax
je case.0x1024bac9.1
mov eax, 0x1025a970
jmp 0x1024c2c7
mov eax, dword [edi + 0x2c]
cmp eax, 0x20028888
je 0x1024bdc2
cmp eax, 0x20038888
jne case.0x1024bac9.1
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x2c]
cmp eax, 0x10020565
je 0x1024bd96
cmp eax, 0x20030888
je 0x1024bd7f
cmp eax, 0x20038888
jmp 0x1024bd79
cmp ebp, esi
je case.0x1024bac9.1
cmp dword [eax + 4], edx
jne case.0x1024bac9.1
cmp dword [eax + 8], edx
jne case.0x1024bac9.1
mov ebp, dword [esp + 0x54]
mov eax, dword [ebp + 0x2c]
cmp eax, 0x20020888
jg 0x1024be9f
je 0x1024be66
cmp eax, 0x18020888
jg 0x1024be41
je 0x1024be4c
cmp eax, 0x10020565
je 0x1024be27
cmp eax, 0x10030565
jne 0x1024bf0d
mov ecx, dword [esp + 0x5c]
cmp dword [ecx + 0x2c], eax
jne 0x1024bf0d
mov dword [esp + 0x10], 0x1024acc0
jmp 0x1024bf0d
cmp eax, 0x18030888
jne 0x1024bf0d
mov edx, dword [esp + 0x5c]
cmp dword [edx + 0x2c], eax
jne 0x1024bf0d
mov dword [esp + 0x10], 0x1024b190
jmp 0x1024bf0d
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x2c]
cmp eax, 0x20028888
je 0x1024be7f
cmp eax, 0x20020888
jne 0x1024bf0d
cmp dword [edi + 0x2c], 0x8018000
jne 0x1024bf0d
call fcn.1024c730
test eax, eax
je 0x1024bf0d
mov dword [esp + 0x10], 0x10257e60
jmp 0x1024bf0d
cmp eax, 0x20028888
je 0x1024bede
cmp eax, 0x20030888
je 0x1024bec9
cmp eax, 0x20038888
jne 0x1024bf0d
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx + 0x2c]
cmp eax, 0x20038888
je 0x1024bef3
cmp eax, 0x20030888
jmp 0x1024bef1
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 0x2c]
cmp eax, 0x20038888
je 0x1024be7f
cmp eax, 0x20030888
jmp 0x1024be79
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x2c]
cmp eax, 0x20028888
je 0x1024bef3
cmp eax, 0x20020888
jne 0x1024bf0d
cmp dword [edi + 0x2c], 0x8018000
jne 0x1024bf0d
call fcn.1024c730
test eax, eax
je 0x1024bf0d
mov dword [esp + 0x10], 0x10257950
mov eax, dword [esp + 0x10]
cmp eax, 0x102651b0
je 0x1024c2cb
mov dword [esp + 0x28], esi
jmp 0x1024c2cb
cmp ebx, esi
je 0x1024bf9f
mov eax, 1
cmp dword [ecx + 4], eax
jne 0x1024bf9f
cmp dword [ecx + 8], eax
jne 0x1024bf9f
mov ebp, dword [esp + 0x54]
cmp dword [ebp + 0x2c], 0x20028888
jne case.0x1024bac9.1
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx + 0x2c]
cmp eax, 0x10020565
je 0x1024bf84
cmp eax, 0x20020888
je 0x1024bf69
cmp eax, 0x20028888
jne case.0x1024bac9.1
call fcn.1024c730
test eax, eax
je case.0x1024bac9.1
mov dword [esp + 0x14], esi
mov eax, 0x10256b40
jmp 0x1024c2c7
call fcn.1024c730
test eax, eax
je case.0x1024bac9.1
mov dword [esp + 0x14], esi
mov eax, 0x10256e70
jmp 0x1024c2c7
mov ebp, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
mov ecx, dword [ebp + 0x2c]
mov eax, dword [edx + 0x2c]
cmp ecx, eax
jne 0x1024bfe7
test ecx, 0xf000
jne 0x1024bfe7
call fcn.1024c730
test eax, eax
je 0x1024bfdd
mov eax, dword [ebp + 0x2c]
cmp eax, 0x20020888
je 0x1024bfd3
cmp eax, 0x20030888
jne 0x1024bfdd
mov eax, 0x1025ccf0
jmp 0x1024c2c7
mov eax, fcn.1024b8d0
jmp 0x1024c2c7
cmp ecx, 0x20028888
je 0x1024c065
cmp ecx, 0x20038888
jne case.0x1024bac9.1
cmp eax, 0x20030888
jg 0x1024c03d
je 0x1024c048
cmp eax, 0x10030565
je 0x1024c020
cmp eax, 0x18030888
jne case.0x1024bac9.1
mov eax, 0x10249f30
jmp 0x1024c2c7
call fcn.1024c730
test eax, eax
je 0x1024c033
mov eax, 0x10258c60
jmp 0x1024c2c7
mov eax, 0x1024a040
jmp 0x1024c2c7
cmp eax, 0x20038888
jne case.0x1024bac9.1
call fcn.1024c730
test eax, eax
je 0x1024c05b
mov eax, 0x10258b10
jmp 0x1024c2c7
mov eax, 0x10249e20
jmp 0x1024c2c7
cmp eax, 0x20020888
jg 0x1024c08a
je 0x1024c048
cmp eax, 0x10020565
je 0x1024c020
cmp eax, 0x18020888
jne case.0x1024bac9.1
mov eax, 0x10249f30
jmp 0x1024c2c7
cmp eax, 0x20028888
jmp 0x1024c042
mov edi, dword [esp + 0x58]
test edi, edi
mov ebp, dword [esp + 0x54]
mov eax, dword [ebp + 0x2c]
jne 0x1024c150
cmp eax, 0x20028888
jg 0x1024c138
je 0x1024c10a
cmp eax, 0x1011000
je 0x1024c0ef
mov ecx, 0x8018000
cmp eax, ecx
jne case.0x1024bac9.1
mov eax, dword [esp + 0x5c]
cmp dword [eax + 0x2c], ecx
jne case.0x1024bac9.1
call fcn.1024c730
test eax, eax
je 0x1024c0e5
mov eax, 0x1025c940
jmp 0x1024c2c7
mov eax, 0x1024a190
jmp 0x1024c2c7
mov ecx, dword [esp + 0x5c]
cmp dword [ecx + 0x2c], 0x1011000
jne case.0x1024bac9.1
mov eax, 0x1024a630
jmp 0x1024c2c7
mov edx, dword [esp + 0x5c]
cmp dword [edx + 0x2c], 0x20028888
jne case.0x1024bac9.1
call fcn.1024c730
test eax, eax
je 0x1024c12e
mov eax, 0x1025ca60
jmp 0x1024c2c7
mov eax, 0x1024a260
jmp 0x1024c2c7
cmp eax, 0x20038888
jne case.0x1024bac9.1
mov eax, dword [esp + 0x5c]
cmp dword [eax + 0x2c], 0x20038888
jmp 0x1024c115
cmp eax, 0x20028888
je 0x1024c162
cmp eax, 0x20038888
jne case.0x1024bac9.1
test ebx, ebx
je case.0x1024bac9.1
mov ecx, 0x8018000
cmp dword [edi + 0x2c], ecx
jne case.0x1024bac9.1
mov edx, dword [esp + 0x5c]
cmp dword [edx + 0x2c], ecx
jne case.0x1024bac9.1
call fcn.1024c730
test eax, eax
je 0x1024c198
mov eax, 0x1025c660
jmp 0x1024c2bf
mov eax, 0x1024a410
jmp 0x1024c2c7
mov edi, dword [esp + 0x58]
test edi, edi
je 0x1024c21f
test ebx, ebx
je case.0x1024bac9.1
mov eax, 1
cmp dword [ecx + 4], eax
jne case.0x1024bac9.1
cmp dword [ecx + 8], eax
jne case.0x1024bac9.1
cmp dword [edi + 0x2c], 0x8018000
jne case.0x1024bac9.1
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x2c]
cmp eax, 0x20030888
jg 0x1024c1f9
je 0x1024c204
cmp eax, 0x20020888
je 0x1024c204
cmp eax, 0x20028888
je 0x1024c204
jmp case.0x1024bac9.1
cmp eax, 0x20038888
jne case.0x1024bac9.1
call fcn.1024c730
test eax, eax
je case.0x1024bac9.1
mov ebp, dword [esp + 0x54]
mov eax, 0x10259a20
jmp 0x1024c2c7
mov ebp, dword [esp + 0x54]
mov eax, dword [ebp + 0x2c]
mov esi, dword [esp + 0x5c]
cmp eax, dword [esi + 0x2c]
jne case.0x1024bac9.1
cmp ecx, edx
je 0x1024bfdd
sar eax, 0x18
cmp eax, 0x10
je 0x1024c24c
cmp eax, 0x20
jne 0x1024bfdd
mov eax, 0x1025ccf0
jmp 0x1024c2c7
mov ebp, dword [esp + 0x54]
mov eax, dword [ebp + 0x2c]
mov edi, dword [esp + 0x58]
mov ecx, 0x8018000
cmp eax, ecx
jne 0x1024c284
mov edx, dword [esp + 0x5c]
cmp dword [edx + 0x2c], ecx
jne 0x1024c284
test edi, edi
jne 0x1024c284
call fcn.1024c730
test eax, eax
je case.0x1024bac9.1
mov eax, 0x1025c500
jmp 0x1024c2c7
test ebx, ebx
je case.0x1024bac9.1
test edi, edi
je case.0x1024bac9.1
test dword [edi + 0x34], 0x400
jne case.0x1024bac9.1
cmp eax, 0x20028888
je 0x1024c2a3
cmp eax, 0x20038888
jne case.0x1024bac9.1
cmp dword [edi + 0x2c], ecx
jne case.0x1024bac9.1
mov eax, dword [esp + 0x5c]
cmp dword [eax + 0x2c], ecx
jne case.0x1024bac9.1
call fcn.1024c730
test eax, eax
je case.0x1024bac9.1
mov eax, 0x1025c200
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1024c31b
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
push eax
call fcn.1030ad1f
add esp, 0x30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
lea edx, [ecx + esi]
mov word [esp + 0x44], dx
mov edx, dword [esp + 0x7c]
push edx
push esi
push eax
lea ebx, [eax + edx]
mov edx, dword [esp + 0x74]
mov word [esp + 0x4e], ax
mov eax, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x74]
push edx
push eax
lea edx, [esp + 0x60]
push edi
push edx
mov eax, ebp
mov word [esp + 0x68], cx
mov word [esp + 0x6e], bx
mov dword [esp + 0x70], 0
call fcn.10246710
add esp, 0x28
test eax, eax
mov eax, dword [esp + 0x48]
je 0x1024c5b3
test eax, eax
je 0x1024c425
mov ecx, dword [eax + 4]
test ecx, ecx
lea edx, [eax + 8]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], edx
je 0x1024c5b3
mov ecx, dword [esp + 0x24]
movsx eax, word [ecx + 2]
movsx edx, word [ecx + 6]
mov esi, dword [esp + 0x64]
sub dword [esp + 0x30], 1
mov ecx, eax
sub ecx, dword [esp + 0x74]
sub edx, eax
add esi, ecx
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x6c]
add ecx, esi
test edx, edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x38], eax
je 0x1024c59f
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x24]
movsx eax, word [ecx]
movsx edi, word [ecx + 4]
mov ecx, dword [esp + 0x68]
mov ebx, eax
sub ebx, dword [esp + 0x70]
sub edi, eax
lea ebp, [ebx + edx]
add ebx, ecx
cmp dword [esp + 0x28], 0
mov dword [esp + 0x34], eax
je 0x1024c464
mov edx, dword [esp + 0x58]
mov ecx, dword [edx]
mov esi, dword [ecx + 8]
cmp esi, 1
jne 0x1024c43a
xor ecx, ecx
jmp 0x1024c452
lea eax, [esp + 0x40]
mov dword [esp + 0x30], 1
mov dword [esp + 0x24], eax
jmp 0x1024c3a3
mov eax, dword [esp + 0x1c]
xor edx, edx
test eax, eax
jl 0x1024c44a
div esi
mov ecx, edx
jmp 0x1024c452
mov ecx, esi
neg eax
div ecx
sub ecx, edx
mov eax, esi
sub eax, ecx
cmp dword [esp + 0x2c], eax
mov dword [esp + 0x1c], ecx
jbe 0x1024c464
mov dword [esp + 0x20], eax
cmp dword [esp + 0x14], 0
je 0x1024c4a7
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
cmp esi, 1
jne 0x1024c47d
xor ecx, ecx
jmp 0x1024c495
mov eax, dword [esp + 0x18]
xor edx, edx
test eax, eax
jl 0x1024c48d
div esi
mov ecx, edx
jmp 0x1024c495
mov ecx, esi
neg eax
div ecx
sub ecx, edx
mov eax, esi
sub eax, ecx
cmp dword [esp + 0x20], eax
mov dword [esp + 0x18], ecx
jbe 0x1024c4a7
mov dword [esp + 0x20], eax
test edi, edi
je 0x1024c57d
nop
cmp dword [esp + 0x28], 0
mov esi, edi
je 0x1024c4f3
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
mov ecx, dword [eax + 4]
cmp ecx, 1
mov dword [esp + 0x3c], ecx
jne 0x1024c4cf
xor ebx, ebx
jmp 0x1024c4e9
xor edx, edx
test ebx, ebx
mov eax, ebx
jl 0x1024c4dd
div ecx
mov ebx, edx
jmp 0x1024c4e9
neg eax
div ecx
sub ecx, edx
mov ebx, ecx
mov ecx, dword [esp + 0x3c]
mov eax, ecx
sub eax, ebx
cmp edi, eax
jbe 0x1024c4f3
mov esi, eax
cmp dword [esp + 0x14], 0
je 0x1024c534
mov edx, dword [esp + 0x54]
mov eax, dword [edx]
mov ecx, dword [eax + 4]
cmp ecx, 1
mov dword [esp + 0x3c], ecx
jne 0x1024c510
xor ebp, ebp
jmp 0x1024c52a
xor edx, edx
test ebp, ebp
mov eax, ebp
jl 0x1024c51e
div ecx
mov ebp, edx
jmp 0x1024c52a
neg eax
div ecx
sub ecx, edx
mov ebp, ecx
mov ecx, dword [esp + 0x3c]
mov eax, ecx
sub eax, ebp
cmp esi, eax
jbe 0x1024c534
mov esi, eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x20]
push esi
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x6c]
push ebx
push ecx
mov ecx, dword [esp + 0x70]
push ebp
push edx
mov edx, dword [esp + 0x74]
push eax
push ecx
push edx
call dword [esp + 0x40]
add dword [esp + 0x64], esi
sub edi, esi
add esp, 0x30
add ebp, esi
add ebx, esi
test edi, edi
jne 0x1024c4b0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
add dword [esp + 0x18], eax
add dword [esp + 0x1c], eax
add dword [esp + 0x38], eax
sub ecx, eax
test ecx, ecx
mov dword [esp + 0x2c], ecx
jne 0x1024c3e0
add dword [esp + 0x24], 8
cmp dword [esp + 0x30], 0
jne 0x1024c3a3
mov eax, dword [esp + 0x48]
test eax, eax
je 0x1024c5c5
cmp dword [eax], 0
je 0x1024c5c5
push eax
call fcn.102f353f
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret