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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x164]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x30], eax
cmp edi, dword [ebx + 0x90]
jne 0x122e7a
lea ecx, [ebx + 0x120]
lea edx, [ebx + 0x124]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], edx
jmp 0x122e8b
mov eax, dword [ebx + 0x12c]
mov dword [esp + 0x18], eax
add eax, 4
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
lea edx, [esp + 0x14]
push edx
push esi
push eax
mov dword [esp + 0x20], eax
mov eax, dword [edi + 4]
push edi
call eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
add eax, 5
add esp, 0x10
mov dword [edx], ecx
cmp eax, 0x12
ja case.default.0x122ec4
jmp dword [eax*4 + 0x123a40]
mov eax, dword [edi + 0x44]
mov edx, dword [edi + 0x30]
sub ecx, eax
add eax, dword [ebp + 0x14]
push ecx
push eax
push edi
call edx
add esp, 0xc
mov byte [esp + 0x12], al
test al, al
je 0x122f24
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x122f02
mov edx, dword [ebx + 4]
push 1
lea ecx, [esp + 0x16]
push ecx
push edx
call eax
add esp, 0xc
jmp 0x122fc0
cmp dword [ebx + 0x50], 0
je 0x122fc0
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [esp + 0x18]
push edi
mov esi, ebx
call fcn.00127b50
add esp, 8
jmp 0x122fc0
mov ecx, dword [edi + 0x44]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
sub eax, ecx
add ecx, dword [ebp + 0x14]
push eax
push ecx
add esi, 0x50
push edi
mov eax, esi
call fcn.00129050
add esp, 0xc
test eax, eax
je 0x12393c
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jne 0x122f61
call fcn.001296d0
test al, al
je 0x12393c
mov ecx, dword [esi + 0xc]
mov byte [ecx], 0
inc dword [esi + 0xc]
mov esi, dword [esi + 0x10]
mov dword [esp + 0x2c], esi
test esi, esi
je 0x12393c
mov edi, dword [esp + 0x30]
push 0
push esi
push ebx
call fcn.00128d50
mov edx, dword [edi + 0x60]
add esp, 0xc
cmp byte [edi + 0x81], 0
mov esi, eax
mov dword [edi + 0x5c], edx
je 0x12300f
cmp byte [edi + 0x82], 0
jne 0x12300f
test esi, esi
jne 0x123021
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x122ff1
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebx + 4]
push esi
push ecx
push edx
call eax
add esp, 0xc
mov edi, dword [ebp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [ebp + 0x14], ecx
mov dword [edx], ecx
mov eax, dword [ebx + 0x1e0]
sub eax, 2
je 0x123a34
dec eax
jne 0x122e94
mov eax, dword [ebp + 0x1c]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x50], 0
je 0x122fbd
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov esi, ebx
call fcn.00127b50
add esp, 8
jmp 0x122fbd
test esi, esi
je 0x1238f7
cmp byte [esi + 0x22], 0
je 0x123903
cmp byte [esi + 0x20], 0
jne 0x12390f
cmp dword [esi + 0x1c], 0
jne 0x12391b
cmp dword [esi + 4], 0
je 0x123098
cmp byte [ebx + 0x134], 0
jne 0x12307e
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x123059
mov edx, dword [esi]
mov ecx, dword [ebx + 4]
push 0
push edx
push ecx
jmp 0x122fb8
cmp dword [ebx + 0x50], 0
je 0x122fbd
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push edx
push eax
mov eax, dword [esp + 0x1c]
mov esi, ebx
call fcn.00127b50
add esp, 8
jmp 0x122fbd
push 0
push esi
mov esi, ebx
call fcn.00126de0
add esp, 8
test eax, eax
jne 0x123a39
jmp 0x122fbd
cmp dword [ebx + 0x70], 0
je 0x123059
mov edi, ebx
mov byte [esi + 0x20], 1
call fcn.00127fa0
mov byte [esi + 0x20], 0
test eax, eax
je 0x12393c
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x10]
push ecx
mov ecx, dword [esi + 0x14]
push edx
mov edx, dword [ebx + 0x74]
push ecx
push eax
mov eax, dword [ebx + 0x70]
push edx
call eax
add esp, 0x14
test eax, eax
je 0x123927
mov ecx, dword [ebx + 0x1b0]
mov dword [ebx + 0x1ac], ecx
jmp 0x122fbd
mov esi, dword [ebx + 0x170]
test esi, esi
je 0x1230fb
mov ecx, dword [esi]
mov dword [ebx + 0x170], ecx
jmp 0x12312a
mov edx, dword [ebx + 0xc]
push 0x30
call edx
mov esi, eax
add esp, 4
test esi, esi
je 0x12393c
mov eax, dword [ebx + 0xc]
push 0x20
call eax
add esp, 4
mov dword [esi + 0x24], eax
test eax, eax
je 0x123933
add eax, 0x20
mov dword [esi + 0x28], eax
xor ecx, ecx
mov dword [esi + 0x2c], ecx
mov edx, dword [ebx + 0x16c]
lea eax, [esi + 0x2c]
mov dword [esi], edx
mov dword [ebx + 0x16c], esi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x44]
add eax, dword [ebp + 0x14]
push eax
mov dword [esi + 4], eax
mov edx, dword [edi + 0x20]
push edi
call edx
mov dword [esi + 8], eax
inc dword [ebx + 0x138]
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
add eax, ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x24], ecx
mov edx, dword [esi + 0x28]
dec edx
push edx
lea ecx, [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x3c]
push edi
call eax
mov eax, dword [esp + 0x38]
sub eax, dword [esi + 0x24]
mov ecx, dword [esp + 0x44]
add esp, 0x1c
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x24], ecx
je 0x123217
jmp 0x1231b0
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x28]
mov edx, dword [ebx + 0x10]
sub eax, ecx
add eax, eax
push eax
push ecx
mov dword [esp + 0x3c], eax
call edx
add esp, 8
test eax, eax
je 0x12393c
mov ecx, dword [esp + 0x34]
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x24], eax
add eax, dword [esp + 0x2c]
mov dword [esi + 0x28], edx
mov dword [esp + 0x1c], eax
mov edx, dword [esi + 0x28]
dec edx
push edx
lea eax, [esp + 0x20]
push eax
mov eax, dword [edi + 0x3c]
push ecx
lea edx, [esp + 0x30]
push edx
push edi
call eax
mov ecx, dword [esp + 0x30]
sub ecx, dword [esi + 0x24]
mov edx, dword [esp + 0x3c]
add esp, 0x14
mov dword [esp + 0x2c], ecx
cmp dword [esp + 0x24], edx
jne 0x1231b0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0x24]
mov dword [esi + 0x18], eax
lea eax, [esi + 0xc]
mov dword [eax], ecx
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
push ecx
push eax
mov byte [edx], 0
mov edx, dword [ebp + 0x14]
push edx
push edi
push ebx
mov dword [esp + 0x48], eax
call fcn.00123a90
add esp, 0x14
test eax, eax
jne 0x123a39
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x12327b
mov ecx, dword [ebx + 0x188]
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [edx]
mov edx, dword [ebx + 4]
push ecx
push edx
call eax
add esp, 0xc
lea ecx, [ebx + 0x1a0]
call fcn.00129010
jmp 0x122fc0
cmp dword [ebx + 0x50], 0
je 0x123294
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [esp + 0x18]
push edi
mov esi, ebx
call fcn.00127b50
add esp, 8
lea ecx, [ebx + 0x1a0]
call fcn.00129010
jmp 0x122fc0
mov esi, dword [edi + 0x44]
add esi, dword [ebp + 0x14]
mov ecx, dword [edi + 0x20]
push esi
push edi
mov dword [esp + 0x34], 0
mov byte [esp + 0x1b], 1
call ecx
add eax, esi
push eax
push esi
push edi
lea eax, [ebx + 0x1a0]
call fcn.00129050
add esp, 0x14
test eax, eax
je 0x12330b
mov edx, dword [ebx + 0x1ac]
cmp edx, dword [ebx + 0x1a8]
jne 0x1232f6
lea esi, [ebx + 0x1a0]
call fcn.001296d0
test al, al
jne 0x1232f6
xor eax, eax
jmp 0x12330b
mov eax, dword [ebx + 0x1ac]
mov byte [eax], 0
inc dword [ebx + 0x1ac]
mov eax, dword [ebx + 0x1b0]
mov dword [esp + 0x40], eax
test eax, eax
je 0x12393c
mov ecx, dword [ebx + 0x1ac]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x44]
push eax
mov dword [ebx + 0x1b0], ecx
mov ecx, dword [ebp + 0x14]
push ecx
push edi
push ebx
call fcn.00123a90
add esp, 0x14
test eax, eax
jne 0x123a39
mov eax, dword [ebx + 0x34]
mov edx, dword [ebx + 0x1ac]
mov esi, dword [esp + 0x40]
mov dword [ebx + 0x1b0], edx
test eax, eax
je 0x12336f
mov ecx, dword [ebx + 0x188]
mov edx, dword [ebx + 4]
push ecx
push esi
push edx
call eax
add esp, 0xc
xor al, al
jmp 0x123373
mov al, byte [esp + 0x13]
cmp dword [ebx + 0x38], 0
je 0x123397
cmp dword [ebx + 0x34], 0
je 0x12338b
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [esp + 0x18]
mov dword [edx], ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0x38]
push esi
push eax
call ecx
jmp 0x1233b1
test al, al
je 0x1233b4
cmp dword [ebx + 0x50], 0
je 0x1233b4
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x14]
push edx
push edi
mov esi, ebx
call fcn.00127b50
add esp, 8
lea ecx, [ebx + 0x1a0]
call fcn.00129010
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x123403
mov ecx, dword [ebx + 0x68]
mov eax, esi
mov dword [esp + 0x38], eax
test ecx, ecx
je 0x1233e4
mov eax, dword [esi]
mov edx, dword [eax]
mov eax, dword [ebx + 4]
push edx
push eax
call ecx
add esp, 8
mov eax, esi
mov edx, dword [ebx + 0x178]
lea ecx, [esi + 4]
mov esi, dword [ecx]
mov dword [ecx], edx
mov dword [ebx + 0x178], eax
mov ecx, dword [eax]
mov edx, dword [eax + 8]
mov dword [ecx + 4], edx
test esi, esi
jne 0x1233c7
cmp dword [ebx + 0x138], 0
jne 0x122fc0
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
push ebx
call fcn.00126c00
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
cmp dword [ebx + 0x138], eax
je 0x123a1a
mov esi, dword [ebx + 0x16c]
mov ecx, dword [esi]
mov edx, dword [ebx + 0x170]
mov dword [ebx + 0x16c], ecx
mov dword [esi], edx
mov ecx, dword [ebp + 0x14]
mov dword [ebx + 0x170], esi
mov eax, dword [edi + 0x44]
mov edx, dword [edi + 0x20]
lea eax, [ecx + eax*2]
push eax
push edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x30], eax
call edx
add esp, 8
cmp eax, dword [esi + 8]
jne 0x123948
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x2c], ecx
cmp eax, 4
jb 0x1234b8
mov ecx, dword [ecx]
cmp ecx, dword [edx]
jne 0x123948
mov ecx, dword [esp + 0x2c]
sub eax, 4
add edx, 4
add ecx, 4
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], ecx
cmp eax, 4
jae 0x123494
test eax, eax
je 0x1234f0
mov dl, byte [edx]
cmp dl, byte [ecx]
jne 0x123948
cmp eax, 1
jbe 0x1234f0
mov edx, dword [esp + 0x24]
mov dl, byte [edx + 1]
cmp dl, byte [ecx + 1]
jne 0x123948
cmp eax, 2
jbe 0x1234f0
mov eax, dword [esp + 0x24]
mov dl, byte [eax + 2]
cmp dl, byte [ecx + 2]
jne 0x123948
dec dword [ebx + 0x138]
cmp dword [ebx + 0x38], 0
je 0x12355e
cmp byte [ebx + 0xec], 0
mov edx, dword [esi + 0x10]
je 0x12354f
test edx, edx
je 0x12354f
mov eax, dword [esi + 0x1c]
mov cl, byte [edx]
add eax, dword [esi + 0xc]
test cl, cl
je 0x123522
inc edx
mov byte [eax], cl
mov cl, byte [edx]
inc eax
test cl, cl
jne 0x123518
cmp byte [ebx + 0xed], 0
mov edx, dword [esi + 0x14]
je 0x12354c
test edx, edx
je 0x12354c
movzx ecx, byte [ebx + 0x1d8]
mov byte [eax], cl
mov cl, byte [edx]
inc eax
test cl, cl
je 0x12354c
inc edx
mov byte [eax], cl
mov cl, byte [edx]
inc eax
test cl, cl
jne 0x123542
mov byte [eax], 0
mov edx, dword [esi + 0xc]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0x38]
push edx
push eax
call ecx
jmp 0x123578
cmp dword [ebx + 0x50], 0
je 0x12357b
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x14]
push edx
push edi
mov esi, ebx
call fcn.00127b50
mov esi, dword [esp + 0x40]
add esp, 8
cmp dword [esi + 0x2c], 0
je 0x1235c7
mov ecx, dword [ebx + 0x68]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x2c], eax
test ecx, ecx
je 0x1235a1
mov edx, dword [eax]
mov eax, dword [edx]
mov edx, dword [ebx + 4]
push eax
push edx
call ecx
mov eax, dword [esp + 0x34]
add esp, 8
mov ecx, dword [esi + 0x2c]
mov edx, dword [ecx + 4]
mov dword [esi + 0x2c], edx
mov ecx, dword [ebx + 0x178]
mov dword [eax + 4], ecx
mov dword [ebx + 0x178], eax
mov edx, dword [eax]
mov eax, dword [eax + 8]
mov dword [edx + 4], eax
cmp dword [esi + 0x2c], 0
jne 0x123581
cmp dword [ebx + 0x138], 0
je 0x123410
jmp 0x122fc0
mov ecx, dword [ebp + 0x14]
mov edx, dword [edi + 0x2c]
push ecx
push edi
call edx
add esp, 8
test eax, eax
js 0x12395e
mov esi, dword [ebx + 0x3c]
test esi, esi
je 0x123610
lea ecx, [esp + 0x3c]
call fcn.00135e50
push eax
mov eax, ecx
mov ecx, dword [ebx + 4]
push eax
push ecx
call esi
add esp, 0xc
jmp 0x122fc0
cmp dword [ebx + 0x50], 0
je 0x122fc0
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x14]
push edx
push edi
mov esi, ebx
call fcn.00127b50
add esp, 8
jmp 0x122fc0
mov eax, dword [ebx + 0x3c]
test eax, eax
je case.default.0x122ec4
mov edx, dword [ebx + 4]
push 1
lea ecx, [esp + 0x17]
push ecx
push edx
mov byte [esp + 0x1f], 0xa
call eax
add esp, 0xc
jmp 0x122fc0
cmp dword [ebx + 0x50], 0
je 0x122fc0
mov eax, dword [ebp + 0x14]
push eax
push edi
mov eax, ecx
mov esi, ebx
call fcn.00127b50
add esp, 8
jmp 0x122fc0
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x123685
mov ecx, dword [ebx + 4]
push ecx
call eax
add esp, 4
jmp 0x12369c
cmp dword [ebx + 0x50], 0
je 0x12369c
mov edx, dword [ebp + 0x14]
push edx
push edi
mov eax, ecx
mov esi, ebx
call fcn.00127b50
add esp, 8
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x10]
push eax
push ecx
push edx
lea eax, [esp + 0x20]
push eax
mov eax, ebx
call fcn.001246a0
add esp, 0x10
test eax, eax
jne 0x123a39
cmp dword [esp + 0x14], eax
jne 0x122fc0
mov dword [ebx + 0x118], 0x1245d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebx + 0x3c]
test esi, esi
je 0x1237a6
cmp byte [edi + 0x48], 0
jne 0x123791
mov edx, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x30]
push eax
mov dword [esp + 0x28], edx
lea edx, [esp + 0x28]
push edx
push ecx
mov ecx, dword [edi + 0x3c]
lea eax, [ebp + 0x14]
push eax
push edi
call ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [eax], edx
mov eax, dword [ebx + 0x2c]
mov edx, dword [ebx + 4]
add esp, 0x14
sub ecx, eax
push ecx
push eax
push edx
call esi
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp eax, ecx
je 0x122fc0
lea esp, [esp]
mov edx, dword [esp + 0x18]
mov dword [edx], eax
mov eax, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x30]
push edx
mov edx, dword [edi + 0x3c]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
push ecx
lea ecx, [ebp + 0x14]
push ecx
push edi
call edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [ecx], eax
mov eax, dword [ebx + 0x2c]
add esp, 0x14
sub edx, eax
push edx
push eax
mov eax, dword [ebx + 4]
push eax
call esi
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp eax, ecx
jne 0x123740
jmp 0x122fc0
mov eax, dword [ebp + 0x14]
sub ecx, eax
push ecx
mov ecx, dword [ebx + 4]
push eax
push ecx
call esi
add esp, 0xc
jmp 0x122fc0
cmp dword [ebx + 0x50], 0
je 0x122fc0
mov edx, dword [ebp + 0x14]
push edx
push edi
mov eax, ecx
mov esi, ebx
call fcn.00127b50
add esp, 8
jmp 0x122fc0
mov eax, dword [ebp + 0x14]
push ecx
push eax
push ebx
mov ecx, edi
call fcn.00127990
add esp, 0xc
test eax, eax
je 0x12393c
jmp 0x122fc0
mov edx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
mov eax, ecx
mov edi, ebx
call fcn.00127ab0
add esp, 4
test eax, eax
je 0x12393c
jmp 0x122fbd
cmp byte [ebp + 0x20], 0
je 0x12381a
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x20]
mov dword [edx], esi
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x12383e
mov edx, dword [ebx + 4]
push 1
lea ecx, [esp + 0x17]
push ecx
push edx
mov byte [esp + 0x1f], 0xa
call eax
add esp, 0xc
jmp 0x123859
cmp dword [ebx + 0x50], 0
je 0x123859
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x18]
push edi
mov esi, ebx
call fcn.00127b50
mov esi, dword [ebp + 0x18]
add esp, 8
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x123a00
cmp dword [ebx + 0x138], eax
jne 0x123a1a
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0x20], 0
je 0x123895
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
mov dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x123a00
cmp dword [ebx + 0x138], eax
jne 0x123a1a
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x1c]
mov dword [edx], ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
mov dword [eax], ecx
mov eax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0x20], 0
jne 0x1238ac
mov eax, 5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0x20], 0
jne 0x123809
mov eax, 6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x15
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x14]
push esi
call edx
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov dword [eax], ecx
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x11
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0x20], 0
jne 0x123884
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x1239d8
cmp byte [edi + 0x48], 0
jne 0x1239c4
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x2c]
push edx
mov edx, dword [edi + 0x3c]
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x38], ecx
push esi
lea ecx, [ebp + 0x14]
push ecx
push edi
call edx
mov eax, dword [ebx + 0x2c]
mov ecx, dword [esp + 0x44]
mov edx, dword [ebx + 4]
add esp, 0x14
sub ecx, eax
push ecx
push eax
mov eax, dword [ebx + 0x3c]
push edx
call eax
add esp, 0xc
jmp 0x1239f3
mov ecx, dword [ebp + 0x14]
mov edx, esi
sub edx, ecx
push edx
push ecx
mov ecx, dword [ebx + 4]
push ecx
call eax
add esp, 0xc
jmp 0x1239f3
cmp dword [ebx + 0x50], 0
je 0x1239f3
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
push edx
push edi
mov esi, ebx
call fcn.00127b50
mov esi, dword [ebp + 0x18]
add esp, 8
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x123a0c
mov eax, dword [esp + 0x18]
mov dword [eax], esi
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x138], eax
je 0x123a26
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov eax, 0xd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x1c]
mov dword [edx], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x23
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret